Jake Archibald on the web browser event loop, setTimeout, micro tasks, requestAnimationFrame, ...
JSConf · 7 则 HN 推荐
视频问答
可以让 AI 解释当前片段,或总结整部视频。如果回答附有时间戳,点击即可跳到对应片段。
试着问:这里讲的是什么意思?
需要用 Google 登录。确认前可查看最多会扣除多少积分。
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.
HN 推荐的原因: HN treats it as the best primer on the event loop, praising its entertaining, easy-to-grasp visual explanations.
“actually making it both entertaining and easily grokable!” 阅读 HN 讨论 ↗