GQL all the Things!
summary
Shows how to keep UI state inside GraphQL by using Apollo client state with Apollo Boost defaults and resolvers, demonstrating a working modal that opens and closes by writing to the cache via mutations or the Apollo Consumer. Explains that client-side resolvers use the same signature as server resolvers, that SSR support and custom cache restoration land in newer clients, and that Apollo CLI generates TypeScript types and offers opt‑in schema validation for dev workflows.
AI-written summary · about
chapters (8)
- 0:00Start
- 0:05A STORY
- 2:19MANAGING LOCAL STATE WITH APOLLO
- 11:22THE MUTATION COMPONENT
- 15:42APOLLO BOOST SUPPORTS SSR NOW
- 16:11APOLLO LINK STATE IS PART OF APOLLO CLIENT IN 3.0
- 17:50OPT-IN SCHEMA VALIDATION
- 19:00ONE FINAL THING
related talks
26mLet's manage our local state with GraphQL
27mLet’s manage our local state with GraphQL
24mState Management in React Apps with Apollo Client
24mAll You Need Is Apollo Client
52mState management in a GraphQL era
37mAll you need is l̶o̶v̶e Apollo Client
25mReact state management in a GraphQL era
29mWrite Queries, Not Code
