Jake Archibald on the web browser event loop, setTimeout, micro tasks, requestAnimationFrame, ...
JSConf · 5 位 HN 用户推荐 · 2018–2023
Be sure to understand the event loop. Javascript as an asynchronous language often comes back to bite beginners. Here are two great talks to help you: [link]
— mxschumacher, 2018Jake Archibald's "In the Loop", Visual explanation of how the javascript event loop works! Awesome video for every javascript developer. [link]
— olavgg, 2018Just rewatched this talk on Monday from last year where Safari was called out for the rAF behavior that was fixed here. Cool to see this change. [link]
— memco, 2019[link] And also that talk on the event loop : [link]
— cassepipe, 2023For how this works in the browser environment specifically, see Jake Archbald’s superb talk[1]. [1] [link]
— mananaysiempre, 2023