Rock-Solid Components with TypeScript and GraphQL
summary
Claims that pairing TypeScript with GraphQL makes components dependable by moving type guarantees to the editor and compile step, using Apollo/Amplify or graphql-codegen to generate TypeScript types from GraphQL schema so nested fields and nullability are known, demonstrating generics with a generic sort header enforced by keyof T, showing refactor-safe renames across files, using optional-chaining utilities and fragments, and arguing this workflow prevents the common runtime "undefined is not an object" errors (citing top-10 JS errors) so broken code fails to compile instead of shipping.
AI-written summary · about
chapters (6)
- 0:00Start
- 1:27The path to the front-end...
- 14:15Type Inference
- 15:38In-line documentation
- 18:49Generics
- 30:36What does it look like?
related talks
25mWeb applications of the future with TypeScript and GraphQL
35mFull-stack Type Safety with React, GraphQL, and TypeScript
26mFull Stack Type Safety with React, GraphQL, and TypeScript
25mType-safe GraphQL with TypeScript
27mThe ultimate GraphQL client development experience
27mWeb applications of the future with TypeScript and GraphQL
38mWeb Applications of the Future With TypeScript and GraphQL
07mManaging TypeScript and GraphQL types in Node
