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.
- Capitol Theatre, Singapore - 27 January 2018
Source:
License: For reuse of this video under a more permissive license please get in touch with us. The speakers retain the co
1 view
3199
1221
4 months ago 00:03:10 2
LL COOL J - Murdergram Deux ft. Eminem
10 months ago 00:03:30 5
GREAT FIGHT SCENE: Robert DeNiro In CAPE FEAR
1 year ago 00:04:16 1
Harry Styles - Satellite (Official Video)
3 years ago 00:01:17 1
Edward Lee’s Header (2006) sample
3 years ago 00:48:48 1
Jake Archibald | Rendering without lumpy bits | Mobilism 2013
3 years ago 00:35:12 1
Jake Archibald: In The Loop -
5 years ago 00:42:37 1
Making things fast in world of build tools by Surma & Jake Archibald | JSConf Budapest 2019
6 years ago 00:46:14 4
Instant Loading: Building offline-first Progressive Web Apps - Google I/O 2016
8 years ago 00:11:04 5
Supercharging page load (100 Days of Google Dev)
10 years ago 00:03:20 2
What Deep Dream sees -- LazyWeb #12
10 years ago 00:31:40 2
Jake Archibald: The ServiceWorker is coming, look busy | JSConf EU 2014
10 years ago 00:03:54 49
Twiztid - A Little Fucked Up Lyric Video - The Darkness Is Coming 1-27-15