~/talk

Modern Apollo Client React

Talkat GraphQLConf 2026 · on Wednesday, 2026-05-20· at 10:50· Grand Ballroom I· [graphql, react]
links:none on file
slides:none on file

Built a production React app with Apollo Client v4 and TanStack Router, using GraphQL codegen (Guild) to enforce fragment co‑location. Router-level preloading populates the Apollo cache on hover, useLoadableQuery and useBackgroundQuery control when queries fire, and suspense fragments let components read only the fields they need. Optimistic mutations update a single field instantly and non‑reactive directives keep updates to a single re-render boundary, avoiding whole‑page rerenders.

AI-written summary · about

  1. 0:00Introduction to Apollo V4
  2. 1:43Code generation benefits
  3. 3:57Preloading queries with TanStack
  4. 7:30Use loadable query feature
  5. 9:17Background query and waterfalls
  6. 11:09Fragment co-location explained
  7. 13:17Apollo cache and entities
  8. 14:20Optimistic UI updates
  9. 16:50Re-render boundaries
  10. 20:06Key takeaways and summary
  11. 20:26Q&A session
~/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.