HackerTube

settimeout

Play all on YouTube
Jake Archibald on the web browser event loop, setTimeout, micro tasks, requestAnimationFrame, ...35:12

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

808K views • 8 years ago
JSConf
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.