Demystifying GraphQL Clients
summary
Compares concrete behaviors: how Apollo client uses the gql template tag, runtime ASTs, Redux-backed normalized cache, optimistic UI, prefetch and server-side rehydration; how Relay 1.0 shifts work to build time with a compiler, generated artifacts and built‑in Flow types; shows subscription plumbing, persistent queries, and how cache reads differ; claims Relay is about 20 percent smaller and demonstrates which patterns actually reduce network calls and keep UI state consistent.
AI-written summary · about
chapters (12)
- 0:00Start
- 2:28FIELDS
- 4:15VARIABLES
- 5:19DIRECTIVES
- 6:47ERRORS
- 11:55PROJECT GOALS
- 16:00SIMPLE QUERY
- 17:47MUTATIONS
- 19:50APOLLO DEVTOOLS
- 22:04MODULARITY
- 22:50RELAY MODERN
- 23:53SIMILARITIES
related talks
31mFrom Relay to Apollo, a story of GraphQL clients
29mWrite Queries, Not Code
58mApolloClient or Relay with Fragments, ‘Hairy’ GraphQL and TypeScript
24mGraphQL Clients
15mThe State of GraphQL Clients in 2023
14mKeynote: GraphQL Clients in 2024
24mBuilding Reactive GraphQL Apps With Apollo
33mRelay Modern or Apollo?
