~/talk

Demystifying React Server Components

Talkat Connect.Tech 2024 · 2024-11-18..11-20· [react, frontend-architecture]
slides:none on file

React Server Components give multiple server entry points instead of one global fetch, demonstrated with Next.js demos: a product page where a 4s recommendation query streams into the page using suspense so the top renders instantly, an infinite scroller that updates the URL and streams new server-rendered chunks, and an add‑to‑cart implemented as a use server action that works but needs Next.js revalidatePath to update the UI. Components are server by default, client interactivity requires use client, which creates bundled client boundaries; Next.js Waku and Expo already support RSC, React 9 stabilizes adoption.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 4:36React Server Components adoption
  3. 10:56From server rendering to SPAs
  4. 15:51Hybrid rendering approach
  5. 19:00React Server Components explained
  6. 26:43Client components and use client
  7. 31:02Component structuring rules
  8. 37:01Bundling with use client
  9. 40:56Server actions introduction
  10. 47:18Server components misconceptions
  11. 48:01Best practices overview
  12. 55:48Directory structure and collocation
  13. 58:18Adoption considerations
  14. 1:00:03Q&A session
~/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.