Everything You Need to Know About GraphQL in 3 Components
summary
Explains how to get live data into React using three concrete components and the exact tools used like react Apollo and Apollo Boost with gql queries, shows a live GraphQL endpoint demo that connects 155 then about 190 clients, groups players into teams of 20 via a mutation, uses a poll interval to refresh query results and runs subscriptions over WebSockets for real time updates, and the demo mostly works though conference Wi Fi reliability is a practical caveat.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 2:40What is GraphQL
- 4:48GraphQL is better than Rest
- 5:26How to learn GraphQL
- 6:17React Apollo
- 6:44Connect to GraphQL
- 7:49GraphQL Playground
- 9:23All Players
- 9:33Query Data
- 9:53Dependencies
- 10:28React App
- 11:53Create App
- 13:56Load Data
- 15:31Change Data
- 16:10Add Border
- 17:59Mutation Component
related talks
58mCrafting compelling real-time web experiences with GraphQL and React
18mCrafting compelling real-time web experiences with GraphQL
41mIntroduction to GraphQL
24mRealtime React Apps with GraphQL
34mCreate Flexible React Applications Using GraphQL APIs
30mReact & GraphQL - Bringing Simplicity and Correctness to Client Side Development
47mReact, Relay and GraphQL — a perfectly normal component approach
24mThe future of Angular client-server communication with GraphQL
