You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hopefully you find good way to fix this :) So we can improve inferno too. Inferno currently updates vNode parents after setState to have this working + cloning vNodes before patching.. Which has obvious effect in performance
The text was updated successfully, but these errors were encountered:
Havunen
changed the title
as per React it should be possible to change roots
Bug: as per React it should be possible to change roots
Jan 20, 2018
NervJS:
https://codesandbox.io/s/m31owy1wvj (link fixed)
React: ( See console logs )
https://jsfiddle.net/a2ay2fh6/
expected result: Nerv should be able to change root nodes.
For more tests on similar manner see Inferno test cases here:
https://github.com/infernojs/inferno/blob/master/packages/inferno-create-element/__tests__/components.spec.jsx#L2528-L3219
Hopefully you find good way to fix this :) So we can improve inferno too. Inferno currently updates vNode parents after setState to have this working + cloning vNodes before patching.. Which has obvious effect in performance
The text was updated successfully, but these errors were encountered: