TypeScript offers a delightful authoring experience, but all bets are off once you make an API call and receive an `any` response. We'll build a Twitter App with React and generate TypeScript code based on a GraphQL schema. Combine TypeScript and GraphQL's type systems to create full-stack, fully-type-checked codebases (even the data layer!), making the entire codebase shockingly easy to evolve, refactor and maintain.
Overview
Syllabus
- Introduction
- Apollo Setup
- Resolver
- Imported Resolver
- Typed Resolver
- Provider & UI Consuming Data
- Data from the Database
- Nested Data
- Transforming Data
- Create Resolver & Wiring UI
- Mutations
- Client-Side Mutation
- Adding Favorites Feature
- Favorites UI Interactivity
- Using Union Types
- Wrapping Up
Taught by
Mike North