layout thrash
RU: каскадная перекомпоновка
A performance failure where JavaScript alternates reading and writing geometry properties within the same frame, forcing multiple synchronous layouts. Each read (e.g. offsetWidth) after a write (e.g. style.width) flushes the pending layout before returning a fresh value. Batching all writes before all reads, or using requestAnimationFrame, prevents it.