WebReflection / domdiff

Diffing the DOM without virtual DOM
ISC License
214 stars 14 forks source link

Deep tree diffs? #2

Closed shannonmoeller closed 6 years ago

shannonmoeller commented 6 years ago

Does this library diff the whole tree or just the shallow list of children? All of the examples and tests are shallow.

shannonmoeller commented 6 years ago

Just found the answer at https://github.com/choojs/nanomorph/issues/85#issuecomment-350834055

it's not suitable for nested nodes too, just lists of the same parent node.

WebReflection commented 6 years ago

Yeah, with hyperHTML which uses this engine you never need to care about nested nodes, these are always the nodes you expect them to be