vue-lynx / shallowReactive
Function: shallowReactive()
Shallow version of reactive.
Unlike reactive, there is no deep conversion: only root-level properties are reactive for a shallow reactive object. Property values are stored and exposed as-is - this also means properties with ref values will not be automatically unwrapped.
Type Parameters
Parameters
Returns
ShallowReactive<T>
Example
See
https://vuejs.org/api/reactivity-advanced.html#shallowreactive
Defined in
node_modules/.pnpm/@vue+reactivity@3.5.30/node_modules/@vue/reactivity/dist/reactivity.d.ts:79