1 Repo
Techniques for grouping DOM mutations to minimize the frequency of browser layout recalculations.
Distinct from Responsive Text Reflow Managers: Candidates refer to PDF, mobile viewports, or text wrapping; this is about optimizing browser rendering performance.
Explore 1 awesome GitHub repository matching web development · Browser Reflow Management. Refine with filters or upvote what's useful.
Fastdom is a task scheduler and rendering optimizer designed to prevent layout thrashing by batching document reads and writes. It functions as a coordination system that separates document measurements and mutations into distinct queues, ensuring that asynchronous operations are executed in a way that minimizes browser reflows. The project provides a performance profiling capability that detects improper document API access. By enforcing strict execution phases, it identifies layout thrashing bottlenecks and flags unauthorized DOM access occurring outside of the coordinated batching cycles.
Groups multiple document mutations into single updates to minimize the number of browser layout reflows.