Jake Archibald: In The Loop - JSConf.Asia
Have you ever had a bug where things were happening in the wrong order, or particular style changes were being ignored? Ever fixed that bug by wrapping a section of code in a setTimeout? Ever found that fix to be unreliable, and played around with the timeout number until it kinda almost always worked?
This talk looks at the browser's event loop, the thing that orchestrates the main thread of the browser, which includes JavaScript, events, and rendering. We'll look at the difference between tasks, microtasks, requestAnimationFrame, requestIdleCallback, and where events land.
Hopefully you'll never have to use setTimeout hacks again!"
Jake is developer advocate for Google Chrome. He's one of the editors of the service worker spec, so he's into offline-first, push messaging and web performance.
JSConf.Asia - Capitol Theatre, Singapore - 27 January 2018
Source: https://2018.jsconf.asia/
License: For reuse of this video under a more permissive license please get in touch with us. The speakers retain the copyright for their performances.
Видео Jake Archibald: In The Loop - JSConf.Asia канала JSConf
This talk looks at the browser's event loop, the thing that orchestrates the main thread of the browser, which includes JavaScript, events, and rendering. We'll look at the difference between tasks, microtasks, requestAnimationFrame, requestIdleCallback, and where events land.
Hopefully you'll never have to use setTimeout hacks again!"
Jake is developer advocate for Google Chrome. He's one of the editors of the service worker spec, so he's into offline-first, push messaging and web performance.
JSConf.Asia - Capitol Theatre, Singapore - 27 January 2018
Source: https://2018.jsconf.asia/
License: For reuse of this video under a more permissive license please get in touch with us. The speakers retain the copyright for their performances.
Видео Jake Archibald: In The Loop - JSConf.Asia канала JSConf
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
What the heck is the event loop anyway? | Philip Roberts | JSConf EUReact Today and Tomorrow and 90% Cleaner React With HooksClean Code - Uncle Bob / Lesson 1The Art of Code - Dylan BeattieVitaly Friedman: Dirty little front-end tricks - JSConf Iceland 201610 Things I Regret About Node.js - Ryan Dahl - JSConf EUAsync + Await in JavaScript, talk from Wes BosObject Oriented vs Functional Programming with TypeScriptJavaScript: Understanding the Weird Parts - The First 3.5 HoursJake Archibald & Surma - Setting up a static render in 30 minutesAdvanced Async and Concurrency Patterns in JavaScriptJake Archibald: все что я знаю про Event Loop в JavaScript (2018)Thai Pangsakulyanont: Smells In React Apps - JSConf.Asia 2018Opher Vishnia: Wait, you can do that with JavaScript…!? | JSConf Iceland 2018Learning Functional Programming with JavaScript - Anjana Vakil - JSUnconfTypeScript Course for Beginners 2020 - Learn TypeScript from Scratch!Franziska Hinkelmann: JavaScript engines - how do they even? | JSConf EUAnswering Tricky JS Interview QuestionsNode.js Ultimate Beginner’s Guide in 7 Easy Steps