dfilatov / vidom

Library to build UI based on virtual DOM
MIT License
415 stars 16 forks source link

Don't replace all subtree of node if a class if component node is changed #158

Closed dfilatov closed 8 years ago

dfilatov commented 8 years ago

Currently if a class of component node is changed, vidom replace all subtree with a new one from the new component (much like React does). But in some cases vidom could reuse existing subtree and patch it more precisely.