The Next Generation of GraphQL and TypeScript
summary
Generates concrete TypeScript artifacts from GraphQL SDL and operations using graphql-codegen and plugins like typescript-react-apollo so you get ready‑to‑use React hooks, resolver signatures, and language bindings; introduces TypeDocumentNode which merges result and variable types into the compiled document so TypeScript inference removes manual generics; started four years ago and now targets Apollo Client, graphql.js, and even added a React Query plugin, and the generated code runs and typesafe checks at compile time.
AI-written summary · about
chapters (7)
- 0:00Start
- 2:14GraphQL Code Generator
- 3:06GraphQL Codegen and TypeScript
- 4:11Generated React Hooks
- 7:41Without TypedDocumentNode
- 9:30TypedDocumentNode: Current Status
- 10:33TypeScript 4.1 & template literal string type
related talks
27mThe ultimate GraphQL client development experience
27mWeb applications of the future with TypeScript and GraphQL
07mManaging TypeScript and GraphQL types in Node
25mWeb applications of the future with TypeScript and GraphQL
25mType-safe GraphQL with TypeScript
30mReact Superpowers with GraphQL and TypeScript
15mThe Evolution of GraphQL Code Generation
06mAutomagic TypeScript Codegen for GraphQL
