vue-lynx / shallowRef
Function: shallowRef()
shallowRef(value)
Shallow version of ref.
Type Parameters
Parameters
Returns
Ref extends T ? T extends Ref ? IfAny<T, ShallowRef<T>, T> : ShallowRef<T> : ShallowRef<T>
Example
See
https://vuejs.org/api/reactivity-advanced.html#shallowref
Defined in
node_modules/.pnpm/@vue+reactivity@3.5.30/node_modules/@vue/reactivity/dist/reactivity.d.ts:463
shallowRef()
Type Parameters
Returns
ShallowRef<T | undefined>
Defined in
node_modules/.pnpm/@vue+reactivity@3.5.30/node_modules/@vue/reactivity/dist/reactivity.d.ts:464