~/talk

State Management in React Apps with Apollo Client

Talkat React Finland 2018 · on Wednesday, 2018-04-25· [react, graphql]
slides:none on file

Claims that local UI state lives in the Apollo cache and can be managed with GraphQL using apollo-link-state and client-side resolvers instead of Redux. Uses Apollo Boost and React Apollo Query/Mutation/Apollo Consumer to read queries, write cache, and run an open modal mutation that performs no network call. Shows a runnable demo (a modal and a Figma-API file explorer) and cites Apollo 2.1 features and the Apollo Slack size (6,922) as context.

AI-written summary · about

  1. 0:00Introduction
  2. 3:35Why Apollo for state
  3. 6:24Setting up Apollo Client
  4. 11:01Query component
  5. 15:16Mutation and cache updates
  6. 18:45Combining query and mutation
  7. 21:35Apollo vs Redux
  8. 21:56Live modal demo
  9. 23:20Summary
~/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.