~/talk

React Query API Design: Lessons Learned

Talkat React Paris 2025 Β· 2025-03-20..03-21Β· [react, developer-experience]
slides:none on file

React Query claims adoption in ~20% of React apps and traces concrete API decisions: it adds a new network mode in v4, replaces positional overloads so useQuery now uses option syntax, trims type definitions from 125β†’25 lines, removes per-query lifecycle callbacks and replaces a flawed refetchPage idea with a maxPages cache limit for infinite queries; versions and semver tradeoffs are debated and early beta testing proves critical because many breaking behaviors only show up when users try prereleases.

AI-written summary Β· about

  1. 0:00Introduction
  2. 0:33API design philosophy
  3. 10:08Major version pitfalls
  4. 10:24TypeScript and API design
  5. 12:27Managing feature demands
  6. 13:00Learning from mistakes
  7. 13:34Holistic API solutions
  8. 16:33Inversion of control
  9. 17:07Pragmatism and final thoughts
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← β†’
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.