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
In this example, the latest version of inferno 7.0.2 replaces the entire node hierarchy on each render call. I updated from inferno 5.0.3 where only changed nodes were replaced.
constinferno=require('inferno'),infhydrate=require('inferno-hydrate'),{ h }=require('inferno-hyperscript'),root=document.body.firstElementChild;root.innerHTML='<div><span>do not replace me</span></div>';setTimeout(()=>{letvtree=h('div',[h('span','do not replace me')]);infhydrate.hydrate(vtree,root);inferno.render(vtree,root);},10000);setTimeout(()=>{letvtree=h('div',[h('span','do not replace me')]);inferno.render(vtree,root);},20000);
am I doing something wrong?
The text was updated successfully, but these errors were encountered:
In this example, the latest version of inferno 7.0.2 replaces the entire node hierarchy on each render call. I updated from inferno 5.0.3 where only changed nodes were replaced.
am I doing something wrong?
The text was updated successfully, but these errors were encountered: