Course lesson

Make GraphQL mutations with the useMutation Apollo hook

In this lesson we'll see how to easily make GraphQL mutation using the Apollo useMutation hook. Same as before, we get access to any data the mutation returns, as well as loading and error states.

Duration
5 min
Access
Pro
Transcript
Available

In this lesson we'll see how to easily make GraphQL mutation using the Apollo useMutation hook. Same as before, we get access to any data the mutation returns, as well as loading and error states.