1 repositorio
Strict execution modes that mandate DOM operations occur only within designated measurement or mutation phases.
Distinct from Strict Mode Enforcement: Distinct from JS strict mode or schema validation; enforces architectural phases of a rendering loop.
Explore 1 awesome GitHub repository matching web development · Rendering Phase Enforcement. 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.
Enforces a strict mode that throws errors when DOM APIs are accessed outside of designated measure or mutate phases.