~/talk

And Now You Understand React Server Components

Talkat UtahJS Conf 2024 · on Friday, 2024-09-13· [react]
slides:none on file

Walks through building the same counter across MPA -> progressively enhanced MPA -> SPA -> Remix, showing exact code changes: form POSTs, fetch-based client submit, reducer/useEffect state, TanStack Query, then a Remix loader/action. Demonstrates that React Server Components let the component be async, read the DB directly, and expose mutations via use server, removing client fetch calls, script tags and duplicated UI/network code while preserving progressive enhancement and reusable npm-publishable components; the demo runs end-to-end after a server restart.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:09History of web complexity
  3. 6:50Building a counter from scratch
  4. 10:41Progressive enhancement with JavaScript
  5. 18:02Moving from MPAs to SPAs
  6. 24:00Challenges with SPAs and APIs
  7. 24:43Frameworks and PESPAs
  8. 27:53React Server Components introduction
  9. 28:56Reusable components with RSCs
  10. 30:20Progressive enhancement with RSCs
  11. 31:26Summary and conclusion
~/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.