Simon Willison’s Weblog

Subscribe

A tour of JavaScript timers on the web (via) By Nolan Lawson. Do you understand the differences between setTimeout, setInterval, setImmediate, requestAnimationFrame and requestIdleCallback? I didn't.