A few people were curious about the scheduling of requestAnimationFrame callbacks, so here’s the tl;dr: All rAF callbacks always run in the same or next frame of workAny rAFs queued in your event handlers will be executed in the same frame. Any rAFs queued in a rAF will be executed in the next frame. (Same for any queued within IntersectionObserver or ResizeObserver callbacks.) All rAFs that ar
![requestAnimationFrame Scheduling For Nerds](https://cdn-ak-scissors.b.st-hatena.com/image/square/8e2ca19c1cff71348f69c74fd82ff35b66703b3d/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2Aad-k5hYKQnRQJF8tv8BIqg.png)