illustration for Learn Apollo Client Hooks
pro

Learn Apollo Client Hooks

Instructor

Tomasz Łakomy

6m closed-captioning
·
4 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.3
156
people completed
Published 5 years ago
|
Updated 5 years ago

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!