Stopping offscreen animations from performing to an empty room
The biggest problem wasn't visible on screen. After a user scrolled past the featured product carousel, a typewriter effect kept right on typing in the background. During a single 13-second offscreen window, the component triggered 205 unnecessary text updates.
Nobody was there to see it, but the browser main thread was still working away processing layout recalculations and React state changes.
Alongside offscreen rendering, we uncovered two other major issues: a 300px layout collapse caused by scaling CSS transforms, and artificial typing delays that held back key content from rendering.
