Enabling Communication with the Server

Learn to update data on a GraphQL server using mutations.

We need to configure two places in our client to ensure it will talk to our local GraphQL server. The first of these is in our client.tsx file. This is the file that tells our ApolloProvider component where to find our GraphQL server. Let’s change this file to send our GraphQL operations to the new local server instead:

Get hands-on with 1400+ tech skills courses.