Jake Archibald on the web browser event loop, setTimeout, micro tasks, requestAnimationFrame, ...
JSConfYouTube ↗
档案导读
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.