1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

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