Aaron Ogan

30 days ago

requestAnimationFrame Scheduling For Nerds

medium.com

Any 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​. All rAFs that are queued will be executed in the intended frame.