~/talk

Conquering Concurrent React

Talkat ReactNext 2024 · on Monday, 2024-06-24· [react, frontend-architecture]
slides:none on file

React 18 hands control of rendering to a scheduler so updates can be split, deprioritized or aborted instead of blocking the UI; the implementation uses the fiber reconciler, work-in-progress tree copying and aborting, and explicit primitives Suspense, useTransition and useDeferredValue. A surprising historical example: the Speedy system cuts burger time from 30 minutes to 30 seconds and raised income by 200k. The demo builds a toy SSR app router that wraps URL changes in transitions so inputs stop disappearing, showing the approach actually works with server components and the Next.js App router.

AI-written summary · about

  1. 0:00React concurrency intro
  2. 1:55What concurrency is
  3. 10:30Why React needs it
  4. 14:20Scheduler before 18
  5. 16:04React is a scheduler
  6. 18:15Fiber reconciler in 18
  7. 20:47Concurrent rendering tools
  8. 24:21Demo: useTransition
  9. 27:10Summary
~/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.