Leigh Halliday is a full-stack developer specializing in React and Ruby on Rails. He works for FlipGive, writes on his blog, and regularly posts coding tutorials on YouTube.
GraphQL isn't just a way to communicate with remote APIs—it is a data query and manipulation language for data in general. Apollo Link State gives you the ability to manage your local state by performing queries and mutations. This provides a single interface to all of your data, both local and remote, avoiding the need to include another state management library such as Redux or MobX in your app.
GraphQL APIs are the future, but how do you get started and use them right now in your React app? This is easily done using the Apollo library, which can be configured quickly using Apollo Boost, or with more fine-grained control using Apollo Client along with Apollo Link. In this article, we'll show how to fully integrate Apollo into your React app from setting up the client to executing a query and displaying its results.