Different Configuration of Apollo Client

Learn about the different configurations of Apollo Client.

Using a hybrid configuration

To give our GraphQL client the ability to use HTTP/S, we pull in another dependency named apollo-link-http:

yarn add apollo-link-http

Now we modify our client code and use a special function, ApolloLink.split(), to configure when each transport method should be used:

Get hands-on with 1400+ tech skills courses.