rename node to vnode
This commit is contained in:
parent
09a0464a01
commit
7c736b511a
20 changed files with 60 additions and 56 deletions
|
|
@ -97,6 +97,6 @@ Only element tag names and components can be the first argument of the `m()` fun
|
|||
|
||||
### Monomorphic class
|
||||
|
||||
The `mithril/render/node` module is used by Mithril to generate all vnodes. This ensures modern Javascript engines can optimize virtual dom diffing by always compiling vnodes to the same hidden class.
|
||||
The `mithril/render/vnode` module is used by Mithril to generate all vnodes. This ensures modern Javascript engines can optimize virtual dom diffing by always compiling vnodes to the same hidden class.
|
||||
|
||||
When creating libraries that emit vnodes, you should use this module instead of writing naked Javascript objects in order to ensure a high level of rendering performance.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue