Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In


    Read and Update Local State with Apollo Link State in React

    Ben AwadBen Awad

    The Apollo Client gives you a simple way to query data from an external API in any application. With apollo-link-state, you can take those same concepts you've already learned and interact with local state.

    In this lesson, you will learn how to query and update state in your ApolloClient with React using the ApolloProvider and Query components. First, we'll set up the application to read from state, then write a function that will increment that state.

    You must be a Member to view code