~/talk

What's new in React 18?

Talkat Wey Wey Web 2022 · 2022-12-15..12-16· [react]
slides:none on file

React 18 makes three concrete changes: automatic batching groups all state updates (with flushSync to force extra renders), a new useId hook generates SSR-safe IDs, and a concurrency model adds startTransition/isPending plus useTransition/useDeferredValue to keep an input instant while filtering 5,000 items or updating a 90,000-item list. Suspense now supports streaming HTML and selective hydration for independent fallbacks, and server components let server-only code (DB/file access) stay off the client bundle, reducing client JS and improving FCP.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Automatic batching
  3. 3:36useId hook
  4. 6:26Concurrency in React
  5. 8:35Demo: useTransition
  6. 13:12Demo: useDeferredValue
  7. 17:08Suspense explained
  8. 20:23Suspense on server
  9. 22:14React Server Components
  10. 27:51Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.