https://github.com/moonhighway/advanced-graphql-client
This repository contains resources for the Advanced Apollo Client workshop at GraphQL Summit 2023.
https://github.com/moonhighway/advanced-graphql-client
Last synced: about 1 year ago
JSON representation
This repository contains resources for the Advanced Apollo Client workshop at GraphQL Summit 2023.
- Host: GitHub
- URL: https://github.com/moonhighway/advanced-graphql-client
- Owner: MoonHighway
- Created: 2023-09-30T18:15:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-10T15:03:18.000Z (over 2 years ago)
- Last Synced: 2025-03-23T11:51:17.440Z (over 1 year ago)
- Language: JavaScript
- Size: 246 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advanced GraphQL Client Workshop
## 🗻 GraphQL Summit 2023 🗻
This repository contains resources for the Advanced Apollo Client workshop at GraphQL Summit 2023. We're glad you're here!
## Setup Instructions
Download/clone this repo before you come to class, so you don't have to worry about installing dependencies over conference wifi.
1. Download or clone: `https://github.com/moonhighway/advanced-graphql-client.git`.
2. Navigate to the workshop directory: `cd advanced-apollo-client`.
3. Install the dependencies: `npm install`.
4. Start the app: `npm run dev`. This will open your project on `http://localhost:3000`.
## Snowtooth API GraphQL Endpoint ðŸš
Most of our requests today will be sent to [https://snowtooth.fly.dev](https://snowtooth.fly.dev).
## Class Agenda
1. Writing Cross-Platform Queries
2. Caching & Type Policies
3. Creating Custom Links
4. Persisted Queries
5. Error Handling Patterns
6. Suspense
7. @defer and @stream
8. Apollo & Next.js App Router
## Instructor Info
- **Eve Porcello**: [Twitter](https://twitter.com/eveporcello) | [Email](mailto:eve@moonhighway.com)
- **Moon Highway Training**: [Moon Highway Website](https://www.moonhighway.com) | [Mailing List](http://bit.ly/moonhighway) | [Articles](https://www.moonhighway.com/articles)
## Slides
- [Workshop Slides](https://docs.google.com/presentation/d/1OYZoI5wtLqOQq6znVBTLBzkz4Si-2dN8SM32kjLSdsA/edit?usp=sharing)
- [Defer & Stream](https://slides.com/moonhighway/defer-stream)
## Resources
- [Apollo Client Docs](https://www.apollographql.com/docs/react/)
- [Apollo Client with Suspense](https://www.apollographql.com/docs/react/data/suspense/)
- [Error Handling](https://www.apollographql.com/docs/react/data/error-handling)
- [Next.js App Router w/ Apollo Client](https://www.apollographql.com/docs/react/data/suspense#react-server-components-rsc)
- [Apollo Client Roadmap](https://github.com/apollographql/apollo-client/blob/main/ROADMAP.md)
- [Spotify Showcase - Apollo Demo App](https://github.com/apollographql/spotify-showcase)