Skip to content

JSConf

Jake Archibald on the web browser event loop, setTimeout, micro tasks, requestAnimationFrame, ...

About this video

Jake Archibald's JSConf.Asia 2018 talk "In the Loop" explains the browser event loop, covering tasks, microtasks, requestAnimationFrame, and how rendering interleaves with JavaScript. It uses visual walkthroughs to show why code runs in surprising orders and why setTimeout fixes are unreliable.