How to modify data on the server and keep the client in sync
In this tutorial, you’ll learn how to use a simple mutation to modify data on the server and keep the state synchronized on your clients. Specifically, we’ll create a mutation that adds an item to a list.
This post is part of a tutorial series on GraphQL + React. In the previous two parts, we built a simple front-end and server:
In this post, we’ll do the following:
Each of these steps is very simple, so completing the whole tutorial should barely take 25 minutes.
If you haven’t done Parts 1 and 2 yet, you can either do those first or jump in right here and check out the starting state of this tutorial from the GitHub repo:
... read the whole story at dev-blog.apollodata.com.