YoVDO

Learn Apollo Client Hooks

Offered By: egghead.io

Tags

GraphQL Courses Web Development Courses

Course Description

Overview

Introduced in React 16.8, Hooks are a new way to write stateful components while avoiding the pitfalls of classes.
As a result, GraphQL developers everywhere wanted to use them for their Apollo Client components, instead of relying on render props pattern. In August of 2019 things have changed and Apollo Client now has official support for React hooks, by providing useQuery, useLazyQuery, useMutation and useSubscription hooks.
If you'd like to learn how to use them, this playlist is for you!

Syllabus

  • Fetch data with Apollo GraphQL useQuery hook
  • Automatically poll data from GraphQL API with Apollo Client useQuery hook
  • Use useLazyQuery to manually execute a query with Apollo React Hooks
  • Use useMutation hook to trigger GraphQL mutations with Apollo React Hooks

Taught by

Tomasz Łakomy

Related Courses

Software as a Service
University of California, Berkeley via Coursera
Intro to Computer Science
University of Virginia via Udacity
Web Development
Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX