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

    Course Introduction: GraphQL with React and Apollo Client

    Nik GrafNik Graf
    reactReact
    ^16.4.2
    apolloApollo
    graphqlGraphQL
    ^14.0.2
    javascriptJavaScript

    This course will provide you with a crisp, but still complete introduction on how to fetch and update remote data from a GraphQL endpoint, as well as managing local state using the Apollo Client in combination with React.

    While this course clearly targets Apollo and GraphQL beginners even someone with quite some Apollo experience might learn something now in the lesson on how to manage local state.

    Each lesson is focusing on a specific feature or concept and can be watched independently. Still the whole course is carefully crafted to get build up one cookbook application.

    Happy watching 🎥🍿

    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Transcript

    Transcript

    Instructor: This course will provide you with a short but still complete introduction in how to fetch and update remote data from a GraphQL endpoint, as well as managing local state using the Apollo Client in combination with React. Experience with React isn't mandatory, but most probably quite helpful when watching this course.

    While this course clearly targets Apollo and GraphQL beginners, even someone with quite some Apollo experience might learn something new in the lesson on how to manage local state.

    Each lesson is focusing on a specific feature or concept and can be watched independently. Still, the whole course is carefully crafted, so all lessons fit together to build up one cookbook application. It starts with querying data from a GraphQL endpoint.

    After that, we enhance the query using GraphQL variables for filtering results. Then we move on to mutations, allowing us to update data. With mutations, there are quite some gotchas to look out for. We'll discuss them at the end of the lesson.

    Using Apollo's Link State, we can even extend the GraphQL remote schema with local capabilities. Last but not least, we explore a couple of quite useful utils that ship with Apollo like refetching and polling.

    I hope this course is useful to you and you enjoy it. Happy watching.

    Discuss

    Discuss