inferno-vnode-flags
Advanced tools
Comparing version 9.0.0-alpha.2 to 9.0.0-alpha.3
{ | ||
"name": "inferno-vnode-flags", | ||
"version": "9.0.0-alpha.2", | ||
"version": "9.0.0-alpha.3", | ||
"license": "MIT", | ||
@@ -10,3 +10,5 @@ "type": "module", | ||
"require": "./index.cjs" | ||
} | ||
}, | ||
"./dist/index.dev.mjs": "./dist/index.dev.mjs", | ||
"./dist/index.mjs": "./dist/index.mjs" | ||
}, | ||
@@ -56,3 +58,3 @@ "description": "Provides an enum of all possible VNode Flags used when calling Inferno.createVNode", | ||
}, | ||
"gitHead": "5df76afa8932d05ee02ce9ce6de47ede52f569d6" | ||
"gitHead": "b242af50261bfe56d5bd4a2b060dcef86b074444" | ||
} |
@@ -16,2 +16,3 @@ # inferno-vnode-flags | ||
**VNodeFlags:** | ||
- `VNodeFlags.HtmlElement` | ||
@@ -35,2 +36,3 @@ - `VNodeFlags.ComponentUnknown` | ||
**VNodeFlags Masks:** | ||
- `VNodeFlags.ForwardRefComponent` Functional component wrapped in forward ref | ||
@@ -44,4 +46,4 @@ - `VNodeFlags.FormElement` - Is form element | ||
**ChildFlags** | ||
**ChildFlags** | ||
- `ChildFlags.UnknownChildren` needs Normalization | ||
@@ -55,4 +57,5 @@ - `ChildFlags.HasInvalidChildren` is invalid (null, undefined, false, true) | ||
**ChildFlags Masks** | ||
- `ChildFlags.MultipleChildren` Is Array | ||
You can easily combine multiple flags, by using bitwise operators. A common use case is an element that has keyed children: |
Sorry, the diff of this file is not supported yet
19154
58