~/talk

Invisible Hand of React Performance

Talkat JSHeroes 2025 · 2025-05-29..05-30· [react, web-performance]
slides:none on file

React’s invisible wins are concrete: useEffect defers DOM reads to the next frame so a mount no longer forces layout (red then blue vs only blue), batching evolves since 0.4 so four setState calls turn from three renders into two in React 18, and Suspense enables selective hydration so clicks only freeze the boundary hit instead of the whole page. These are specific implementation changes (Promise.resolve scheduling, removed global batch flag) that measurably cut freezes and renders.

AI-written summary · about

  1. 0:00React performance history
  2. 1:47useEffect as performance hero
  3. 11:55Batching state updates
  4. 21:14Suspense and hydration
  5. 28:08Invisible hand of React performance
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.