~/talk

GraphQLifying React Native App

Talkat React Native EU 2020 · 2020-09-03..09-04· [react-native, graphql]
github:plrdev
slides:none on file

Migration of a 200k+ weekly‑user React Native app to Apollo Client 3.0 and a new GraphQL backend cuts the startup surface from 15 API calls down to one (plus one registration mutation) by using a GraphQL gateway (Apollo Server 3 POC, GraphQL Java in production), client‑side fetch for optimized articles via local resolvers + axios with a schema‑enforcement layer, cache tweaks with typePolicies/keyFields and reactive variables for local state; pitfalls: local resolvers are deprecated, reactive vars need manual persistence, and cache persistence required workarounds.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:31Proof of concept with Apollo
  3. 10:34Backend solution and local resolvers
  4. 14:25Type policies and Apollo cache
  5. 16:31Reactive variables for local state
  6. 22:08Debugging and testing with Apollo
  7. 25:57Outcome and lessons learned
~/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.