It's time to get you started with a minimal Apollo Client in React application that can be used as boilerplate project. The application can be used as starter project for other tutorials, but also for your own ideas. After all, it gives you all the necessary parts to consume GitHub's GraphQL API in your React application by using Apollo Client in a minimal starter project.
The tutorial shows how you can build up on a mocked GraphQL server for writing tests for your Apollo Client queries and mutations in React. So far, the Apollo Client instance can be replaced with a mock, but the unsolved question keeps popping up: How to test Apollo Client in a React application?
Often you run into the case where you have to mock your GraphQL server for your GraphQL client application. It can be for testing your GraphQL client or when your GraphQL server is not (always) available for development. Then it comes in handy to know how to mock your GraphQL server. The following tutorial will show you how to do it for Apollo Client which is used in a React application.
A tutorial about how to use Apollo Link State as local state management solution in a React application when having already a GraphQL powered server in the first place. The example shows you how to use Apollo Link State instead of React's Local State, but also instead of Redux or MobX to manage global state.
The article is a checklist for myself, but for anyone else setting up PostgreSQL 10 on MacOS for having a SQL database in an Express.js application. You can leave out the Express part to just set up Postgres on MacOS.
This React with Apollo and GraphQL tutorial shows you how to use GraphQL in your React application by consuming GitHub's GraphQL API. You will use Apollo for your query and mutation implementation on the client-side in your React application. This Apollo in React tutorial attempts to teach you using Apollo in React from zero to one.
This React with GraphQL Tutorial shows you how to use GraphQL in your React.js application by consuming the GitHub API. You will not use any clever framework such as Apollo for performing a query or mutation, but only plain HTTP requests to learn about GraphQL.
React's Context API is a powerful feature for passing props down the component tree without the need to tell components in between about them. React's context creates a Provider and Consumer component that enable us to use this powerful feature.