Back out migration ToC, correct references to vnode shape
This commit is contained in:
parent
d021271be8
commit
febd97aac2
1 changed files with 0 additions and 14 deletions
|
|
@ -431,20 +431,6 @@ m("div", "value", ["nested"])
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
If only a single text child is present on a DOM vnode, it instead sets `text` to that value.
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
m("div", "value")
|
|
||||||
|
|
||||||
// Becomes roughly:
|
|
||||||
{
|
|
||||||
tag: "div",
|
|
||||||
attrs: null,
|
|
||||||
text: "",
|
|
||||||
children: undefined,
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
See [the vnode docs](vnodes.md) for more details on the v2.x vnode structure and how things are normalized.
|
See [the vnode docs](vnodes.md) for more details on the v2.x vnode structure and how things are normalized.
|
||||||
|
|
||||||
*Most of the v2.x vnode properties here are omitted for brevity.*
|
*Most of the v2.x vnode properties here are omitted for brevity.*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue