fastdom
fastdom copied to clipboard
Eliminates layout thrashing by batching DOM measurement and mutation tasks
Please provide esm format distribution for importing in browser directly without any module loader.
I have a scenario where I want to render a list at a certain scroll position that's not `0`. If I update scroll after rendering the list, I can see...
https://github.com/wilsonpage/fastdom/blob/51670c416c5ae25ee6ad50a6c4f0469665acbc62/src/fastdom-strict.js#L40 enabled = value if (value) strictdom.enable(); else strictdom.disable();
Why fastdom?
Fastdom sounds so efficient that I need to ask what the possible downsides are. Why is this not the default behaviour implemented in modern browsers? > you should wrap any...
I wanted to extend fastdom to process tasks in a different way. Specifically I wanted to use the advice from https://developers.google.com/web/fundamentals/performance/rendering/optimize-javascript-execution to break up the tasks so only a few...
An interesting resource article on latest Chrome optimizations and rendering. Felt like it belonged here as a helpful reference for those so inclined to read it, particularly the comments. Seems...
Make debug flag editable by setting NODE_ENV to production.
Pick a couple of examples and link to them on gh-pages.
The usecase is to throttle `touchmove` events in the dom. As of now we have to schedule it via `mutate` and then `clear` it when the next one comes. This...