3 ms·
will simply redraw all the vdom whenever a user event happens > that’s going to be painful when I want to filter a live search result page with more than a jus
by jahewson 7y ago
will simply redraw all the vdom whenever a user event happens
> that’s going to be painful when I want to filter a live search result page with more than a just few results.
- wruza 7y agoVdom is not dom. Mithril maintains a previous copy of vnodes (pojo) and only patches corresponding divs when new vnodes differ. Comparing and disposing pojo is cheap. Producing vnodes cheap too, unless you do heavy calculations at render, but that’s true for any framework.
- pier25 7y agoThe vdom is not the dom. I'm using it right now with a gallery of about 2000 items with filtering and search. No problem on an i5 desktop.
- Aeolun 7y agoHave you tried in IE11? I think that’s the true test of speed for any webapp now.
- ____hacker____ 7y agoWhy would you do that in 2020?