1,000 Cards, 1,000 Layouts, and requestAnimationFrame Didn't HelpWhat layout thrashing and forced reflow are, why reading offsetWidth after a style change is so slow, and how batching reads and writes fixes it.Nov 6, 20265 min read