Module

x/vue3_reactivity/src/reactive.ts

vue3_reactivity is forck by @vue/reactivity for deno.
Latest
import * as mod from "https://dotland.deno.dev/x/vue3_reactivity@v1.0.0/src/reactive.ts";

Functions

Creates a reactive copy of the original object.

Creates a readonly copy of the original object. Note the returned copy is not made reactive, but readonly can be called on an already reactive object.

Return a shallowly-reactive copy of the original object, where only the root level properties are reactive. It also does not auto-unwrap refs (even at the root level).

Returns a reactive-copy of the original object, where only the root level properties are readonly, and does NOT unwrap refs nor recursively convert returned properties. This is used for creating the props proxy object for stateful components.