~/talk

React 18: New features and updates

Talkat React Day Bangalore 2022 · 2022-06-08..06-09· [react]
slides:none on file

React 18 requires one concrete code change — swap to react-dom.createRoot/hydrateRoot — and then enables features like automatic batching across promises (opt out with flushSync), concurrency primitives (startTransition and useTransition), Suspense improvements with HTML streaming and selective hydration, and a new useId hook for consistent server/client IDs. It drops IE11 support. Upgrading is npm install then switch root API; without the API change new features stay off but the app still runs with a warning.

AI-written summary · about

  1. 0:00Introduction to React 18
  2. 1:03React 18 major version overview
  3. 2:32New root API changes
  4. 6:05Automatic batching explained
  5. 9:39Strict mode updates
  6. 11:02Concurrent mode introduction
  7. 13:11Transitions for state updates
  8. 19:08Suspense and SSR improvements
  9. 25:26UseId hook for consistency
  10. 27:11Summary and resources
  11. 28:16How to upgrade to React 18
  12. 29:00Q&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.