dy / spect

Observable selectors in DOM
https://dy.github.io/spect
MIT License
76 stars 8 forks source link

h: keyed. Why not morphing? #233

Closed dy closed 1 year ago

dy commented 4 years ago

Keying elements can morph prev node instead of creating new one

dy commented 3 years ago

List diffing is delegated to strui/list. Creating new nodes is unavoidable in simple cases.

dy commented 3 years ago

Why it doesn't morph? It should, if elements matched by id/key, and even without. What's the point of replacing?

dy commented 1 year ago

Out of spect scope.