Skip to content

useRef

Automatically infer type for useRef. It's an alias of shallowRef.

Basic Usage

tsx
import {  } from 'vue'
import {  } from 'vue-jsx-vapor'
// or
// import { shallowRef as useRef } from 'vue'

export const  = ({
  () {
    return { : 1 }
  },
})

export default (() => {
  const  = ()
  .?.

  return (
    <>
      < ={} />
    </>
  )
})