~/talk

Handling Large-Scale State Management with Context and Hooks

TalkinDutchat React Conf Armenia 2019 · on Saturday, 2019-05-25· [react, frontend-architecture]
links:none on file
slides:none on file

Describes replacing prop drilling with React Context, Hooks and a reducer-style producer/patch reducer pattern to manage nested menus, product pages and async fetches. Demonstrates a live component library used for the City of Amsterdam, custom hooks for page and user logic, nested providers, action payload shapes, and when to wrap values with useMemo to avoid re-renders; shows how async actions set loading then success so components update predictably, with concrete code snippets and scaling tradeoffs.

AI-written summary · about

  1. 0:00State management intro
  2. 5:04Context and hooks solutions
  3. 10:17Building context providers
  4. 15:35Optimizing with useMemo
  5. 20:25Advanced context patterns
  6. 25:20Global context for apps
  7. 30:53Context vs other solutions
  8. 32:44Q&A
~/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.