~/talk

What's new in React 19

Talkat React Conf 2024 · 2024-05-15..05-16· [react]
slides:none on file

React 19 stabilizes concrete APIs: transitions now accept async functions (but post-await updates need an extra startTransition until async context lands), and multiple concurrent transitions batch into a single commit so later updates win. New hooks and APIs include useActionState (actions auto-receive formData and expose pending + result), useFormStatus and useOptimistic for optimistic updates, plus server improvements: async React Server Components with Suspense streaming, use API to pass promises to client, plus server actions, ref-as-prop, head/CSS hoisting and browser-hint APIs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:21Transitions with async actions
  3. 3:54useActionState hook demo
  4. 6:42Form actions and status
  5. 8:07useOptimistic hook explained
  6. 10:30React Server Components
  7. 13:17Client components and use
  8. 15:41Server actions overview
  9. 16:44Other React 19 improvements
  10. 18:29Browser hints and metadata
~/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.