6 ms·
I'm sure there's a different concept in there somewhere, but what you described sounds exactly like vdom.
by svachalek 4y ago
I'm sure there's a different concept in there somewhere, but what you described sounds exactly like vdom.
- thomasikzelf 4y agoLet's call it vdata. Data diffing instead of DOM diffing.
- spankalee 4y agoThis model doesn't represent DOM nodes, it represents entire templates. And there's no per-node diff - you only compare bound values. So the structure of templates is entirely static.