import * as mod from "https://dotland.deno.dev/x/vue3_reactivity@v1.0.0/mod.ts";
Enums
Patch flags are optimization hints generated by the compiler. when a block with dynamicChildren is encountered during diff, the algorithm enters "optimized mode". In this mode, we know that the vdom is produced by a render function generated by the compiler, so the algorithm only needs to handle updates explicitly marked by these patch flags. | |
Variables
v def | |
The full list is needed during SSR to produce the correct initial markup. | |
Compiler only.
Do NOT use in runtime code paths unless behind | |
Known attributes, this is used for stringification of runtime static nodes
so that we don't stringify bindings that cannot be set from HTML.
Don't also forget to allow | |
Generated from https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute | |
CSS properties that accept plain numbers | |
v isOn | |
Compiler only.
Do NOT use in runtime code paths unless behind | |
Compiler only.
Do NOT use in runtime code paths unless behind | |
v NO | Always return false. |
v NOOP | |
dev only flag -> name mapping | |
Dev only | |
For converting {{ interpolation }} values to displayed strings. | |
Functions
Boolean attributes should be included if the value is truthy or ''.
e.g. | |
Make a map and return a function for checking if a key is in that map. IMPORTANT: all calls of this function must be prefixed with /*#__PURE__*/ So that rollup can tree-shake them if necessary. | |
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 | |
f ref | |
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. | |
f stop | |
Interfaces
I Ref | |
This is a special exported interface for other packages to declare additional types that should bail out for ref unwrapping. For example @vue/runtime-dom can declare it like so in its d.ts: | |