~/talk

Effective React: Lessons from 10 Years

Talkat NDC Copenhagen 2025 · 2025-09-08..09-12· [react, typescript]
slides:none on file

Ten years of practical React experience condenses into concrete advice: prefer tanstack query for remote state (cache keys, background refetch, retries, and its throw on error option to bubble async failures to error boundaries), validate all API JSON with Zod runtime validation, avoid useEffect footguns with a custom useFetch or useSuspenseQuery in route-level Suspense, and experiment with sync engines like Convex sync demo (offline writes, optimistic local updates, live cross-tab sync). Also: 8 state categories, 30+ state libraries, keep state local and lift only when necessary.

AI-written summary · about

  1. 0:00Introduction
  2. 2:13React’s evolution
  3. 7:06useEffect to React Query
  4. 13:24Error handling with Zod
  5. 23:26Suspense for data fetching
  6. 26:36React Server Components
  7. 32:15Local-first development
  8. 43:52React state management
  9. 55:37React 19 and future
  10. 58:46Summary
~/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.