Module

x/vue3_reactivity/shared/index.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/shared/index.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

The full list is needed during SSR to produce the correct initial markup.

Compiler only. Do NOT use in runtime code paths unless behind __DEV__ flag.

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 data-* and aria-*! Generated from https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes

CSS properties that accept plain numbers

Compiler only. Do NOT use in runtime code paths unless behind __DEV__ flag.

Compiler only. Do NOT use in runtime code paths unless behind __DEV__ flag.

Always return false.

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. <select multiple> compiles to { multiple: '' }

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.