~/talk

React Query: It’s Time to Break up with your "Global State"!

Talkat React Summit Remote Edition 2020 · on Friday, 2020-04-17· [react, frontend-architecture]
slides:none on file

Argument: most “global state” is actually server data and deserves different tooling. Demonstration builds a small interactive blog, swaps custom hooks + context for React Query, removes about 150 lines of code, and gains caching, background refetching, per-key queries, and declarative mutation handling. Mutations use optimistic updates with rollback (demo has a 50/50 simulated failure). Result: fewer bugs, instant cached views, and simpler code for async server state.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Global State vs Server State
  3. 6:47Project Overview
  4. 12:44Post ID Search
  5. 16:10React Query
  6. 21:45Conclusion
  7. 23:43Audience Questions
~/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.