Skip to content
Still the clearest explanation of the event loop, eleven years on
video1.7K viewsJun 24, 2026

Still the clearest explanation of the event loop, eleven years on

Lena Fischer
Lena Fischer@lenafischer

June 24, 2026 · 1 min read

1.7K views1 comment

I send this to every front-end hire in their first week. Ten minutes of a visual stack and queue does more than any amount of prose about microtasks, and it is why our team can reason about why that setTimeout(0) "fixed" the layout bug.

Written by

Lena Fischer

Lena Fischer

Front-end engineer on a design systems team. I maintain the token pipeline and the component library four product teams build on. Strong opinions about focus rings, colour contrast, and the fact that most "theming" problems are really naming problems. CSS is a real language and I will keep saying so.

1 Comment

Sign in to join the discussion

Priya Raman
Priya Raman@priyaraman2mo ago

Ten minutes of a visual stack and queue beats any amount of prose, which is the same reason we teach frame timing with a timeline capture instead of a diagram.

0