~/talk

Managing State Management

Talkat React Rally 2020 · on Friday, 2020-08-14· [frontend-architecture, react]
slides:none on file

Argues that UI state and server cache are different problems and separating them simplifies everything, using react query for server cache and plain React (useState/useReducer + lift state up then push it back down) for UI state; shows a counter example and a notifications provider moved into its screen to co-locate providers, which enables code splitting and easier maintenance; recommends composition before context to avoid prop drilling and suggests recoil only if real performance bottlenecks remain.

AI-written summary · about

  1. 0:00Start
  2. 6:11Server Cache Is Not the Same Thing as Ui State
  3. 9:11Example Component Tree
  4. 9:42Authentication
  5. 13:52Responding to Changes
  6. 16:35Prop Drilling Problem
  7. 21:24React Use Context Hook
  8. 22:50Co-Location of Your Providers
  9. 28:24Review
~/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.