2 Repos
Grouping DOM mutation operations to minimize browser reflows.
Distinct from Mutation Batching Controls: Unlike mutation controls or lifecycle management, this is about the architectural batching of writes to optimize paint cycles.
Explore 2 awesome GitHub repositories matching web development · DOM Write Batching. 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 write operations into a single queue to ensure they execute after all measurements to minimize reflows.
Avalon is a client-side MVVM JavaScript framework that binds model data to DOM elements and automatically updates views when state changes. It functions as a component-based UI framework, encapsulating markup, logic, and styles into reusable custom components that can be composed across pages, while also serving as a virtual DOM diffing engine that computes minimal DOM updates by comparing lightweight in-memory view tree snapshots. The framework distinguishes itself through a template directive compiler that transforms declarative HTML attributes like ms-repeat and ms-if into executable view
Ships a batch DOM update queue that collects pending view mutations into a single flush cycle.