Consistency
This commit is contained in:
parent
50426a4d20
commit
5f08c278ec
1 changed files with 4 additions and 4 deletions
|
|
@ -18,7 +18,7 @@
|
|||
- [`m.request`](#mrequest)
|
||||
- [`xlink` namespace required](#xlink-namespace-required)
|
||||
- [Nested arrays in views](#nested-arrays-in-views)
|
||||
- [Vnode equality checks](#vnode-equality-checks)
|
||||
- [`vnode` equality checks](#vnode-equality-checks)
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -495,14 +495,14 @@ m("svg",
|
|||
)
|
||||
```
|
||||
|
||||
***
|
||||
---
|
||||
|
||||
## Nested arrays in views
|
||||
|
||||
Arrays now represent [fragments](fragment.md), which are structurally significant in v1.x virtual DOM. Whereas nested arrays in v0.2.x would be flattened into one continuous list of virtual nodes for the purposes of diffing, v1.x preserves the array structure - the children of any given array are not considered siblings of those of adjacent arrays.
|
||||
|
||||
***
|
||||
---
|
||||
|
||||
## Vnode equality checks
|
||||
## `vnode` equality checks
|
||||
|
||||
If a vnode is strictly equal to the vnode occupying its place in the last draw, v1.x will skip that part of the tree without checking for mutations or triggering any lifecycle methods in the subtree. The component documentation contains [more detail on this issue](components.md#avoid-creating-component-instances-outside-views).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue