illustration for Learn Apollo Client Hooks

Learn Apollo Client Hooks

Instructor

Tomasz Łakomy
6m
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.3
156
people completed
Bookmark
Download
RSS

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!