makibishi
a73c157dff
refactor: Vnode.normalizeChildren to anonymous function ( #2208 )
2018-10-28 18:02:32 -04:00
Pierre-Yves Gérardy
144ce68192
[render/render] get rid of vnode.skip
2018-05-29 23:50:29 +02:00
Barney Carroll
1579fe8430
Do not normalise component children on ingestion ( #2155 )
...
* Do not normalise component children on ingestion
* Don't normalise vnode children
* Component hyperscript tests: children aren't normalised
* test, not text
* Update change log: #2155 & #2064
2018-05-29 10:53:16 +01:00
Isiah Meadows
19d2ba316c
Remove support for vnode.state = ...
...
- Remove docs for it
- Remove tests for it
- Add runtime check for unexpected reassignment, since we can't freeze
the property (we internally have to be able to modify it)
2017-10-02 19:57:48 -04:00
Pierre-Yves Gerardy
d69f6e37aa
Add a shadow vnode._state field for view and hook lookups
2017-03-26 22:24:17 +02:00
Isiah Meadows
934e0ac55e
Merge branch 'next' into strict-mode
2017-03-09 11:54:32 -05:00
Pierre-Yves Gerardy
74cbd4c17b
Let render() create the state rather than vnode()
2017-03-08 22:19:27 +01:00
Isiah Meadows
1cc5fa5ba7
"use strict" and other linty fixes
2017-03-03 18:24:38 -05:00
Pat Cavit
6170573c29
feat: Return empty string node for false values
...
Very specifically doing a strict `false` check here to try & avoid
coercion perf costs.
2017-01-05 23:07:34 -08:00
Barney Carroll
d82d337569
Replace x instanceof Array with Array.isArray(x)
2016-11-24 09:21:27 +00:00
maks feltrin
201de4bc8b
remove unneeded else
2016-10-24 17:41:31 +02:00
Pierre-Yves Gerardy
58cea7a283
Add a static vnode.skip field
2016-08-16 22:56:42 +02:00
Leo Horie
7c736b511a
rename node to vnode
2016-07-29 22:04:04 -04:00