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 討論 ↗