~/talk

Exploring React 18's Streaming Capabilities with Suspense for SSR

Talkat CityJS Berlin 2024 · 2024-01-05..02-02· [react, web-performance]
links:none on file
slides:none on file

React 18’s server streaming uses the new react.use promise API to pause rendering until data arrives, and Suspense boundaries with Suspense fallback placeholders let the server stream fragments so above‑the‑fold UI appears first. An in‑house renderer streams each product card independently, enabling progressive hydration and prioritized interaction; real Zando metrics show measurable gains in FID and LCP after upgrading. Implementation is small: add Suspense boundaries around components, use react.use to await fetches, and the site loads progressively while remaining interactive.

AI-written summary · about

  1. 0:00Introduction to React 18
  2. 1:45React 18's interruptible rendering
  3. 3:10Prioritized rendering in React 18
  4. 5:38What is streaming in React
  5. 7:44Case study at Zando
  6. 10:11Using Suspense for streaming
  7. 14:44Progressive hydration benefits
  8. 16:33Performance boost with React 18
  9. 17:15Summary and takeaways
~/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.