3 ms·
I recently found out about incremental-dom[1], a very small library that just does the "dom updating" algorithm. Its very low level and does not rely on keeping
by ufo 11y ago
I recently found out about incremental-dom[1], a very small library that just does the "dom updating" algorithm. Its very low level and does not rely on keeping around a "virtual dom tree" so its supposedly very interoperable. Does anyone here have any experience with it?
[1] http://google.github.io/incremental-dom/ http://google.github.io/incremental-dom/
- leeoniya 11y agoincremental dom is extremely low level, so low that it's basically DOM assembly. it is not practical and is actually not that fast. many other vdom libs are both more useable and faster. check out vidom, kivi, citojs, domvm (mine), etc... domvm is actually one level above pure vdom libs and a level below frameworks. it offers a very fast, stateful and reusable view layer over a vdom diffing engine. it was written to solve some architectural disagreements and speed issues i had with using Mithril MVC for several projects.
- boubiyeah 11y agoYep; It's also in a completely different category, on its own. incremental-dom's API is very imperative, so completely different from React & others design goal.