Mutations & Query variables

Now, let's add the ability for our users to create new todos and add them to their task list.

We will learn the following concepts:

  • Creating a GraphQL mutation
  • Using the Mutation with $apollo.mutate
  • Capturing loading/finished/error states

Let's get started!


Get Started with GraphQL Now

Hasura Cloud gives you a fully managed, production ready GraphQL API as a service to help you build modern apps faster.