1×
Become a member
to unlock all features

Create egghead account to access 5000+ tutorials and resources from expert developers.

Create account
Autoplay

    Fetch Server Data and Client-side State in One Query using React Apollo + GraphQL

    reactReact

    In this lesson we look at how the Apollo @client directive can be used to fetch client-side state along with server data with one query. I also show how to update the client-side state using a mutation connected to a button.

    Additional Resources Apollo Client 2.0