~/talk

2024 09 20 18 DAVID KHOURSHID - useWat

Talkat React Alicante 2024 · 2024-09-19..09-21· [react, developer-experience]
slides:none on file

Demonstrates that useState batching makes sequential updates yield unexpected counts, that maps and sets don’t behave well in state without hacks, and that many scattered useState calls compress into a single reducer which makes a toggle with useReducer trivial. Highlights global-state options: useSyncExternalStore and the newly released xate store for evented updates. Notes effects executing twice in Strict Mode, fetch-in-useEffect causing duplicate requests, and server/client component mismatch headaches in current React versions.

AI-written summary · about

  1. 0:00React introduction
  2. 3:01Library vs framework
  3. 6:55React pitfalls
  4. 8:39useState weirdness
  5. 11:53Understanding useContext and its proper use
  6. 15:08Local vs global state
  7. 17:58useEffect complexities
  8. 21:31React 19 SSR
  9. 24:18useRef purity
  10. 25:22useMemo & useCallback
  11. 27:29React Forget features
  12. 28:13Server Components
  13. 30:44React future
~/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.