Single filter click freezes UI for 180+ ms INP with visible CLS jump
Cascading custom property invalidations and synchronous Virtual DOM reconciliation combine with layout thrashing to blow past the 200 ms INP budget.
Web Vitals INP > 200 ms (Processing Duration > 140 ms) + CLS > 0.1 during synchronous state commit and layout readCausal Chain of Browser Mechanisms
Ordered from trigger to root invariant. Open any mechanism to inspect its internals or reproduce the behavior in an interactive lab.
Custom properties inherit through the DOM tree and resolve var() at computed-value time, enabling dynamic theming without preprocessor compilation.
Diffs lightweight JS element trees in O(n) using type and key heuristics, batching minimal DOM mutations into a single commit phase.
Interleaving DOM writes and geometric reads inside JavaScript forces the engine to recompute Layout synchronously on every iteration.
Fix sluggish clicks and fail-threshold INP (>200 ms) by breaking >50 ms Long Tasks—Input Delay, Processing Duration, and Presentation Delay all compete on one main thread.
Heavy state updates lock the main thread and tank INP past 200 ms. Bitmask priority lanes let a framework scheduler pause background tree reconciliation, yield to user input, and resume work across frames.