Comment by agd
4 years ago
This looks great however I’m skeptical about dom memoization. VDOM + immutable data structures seems to be much simpler conceptually and may provide even better performance.
4 years ago
This looks great however I’m skeptical about dom memoization. VDOM + immutable data structures seems to be much simpler conceptually and may provide even better performance.
VDOM is certainly not faster. Svelte says "VDOM is pure overhead", and VDOM approaches are generally beaten by Imba and reactive libraries like SolidJS:
https://krausest.github.io/js-framework-benchmark/2021/table...
https://svelte.dev/blog/virtual-dom-is-pure-overhead