Update and Delete mutations

To enable toggling between completed states, and to delete todos let's use automatic cache updates when we run mutations!

We will learn the following concepts:

  • Creating a GraphQL mutation
  • Using the <Mutation> component
  • Automatic cache updates

Let's get started!

Did you find this page helpful?
Start with GraphQL on Hasura for Free
  • ArrowBuild apps and APIs 10x faster
  • ArrowBuilt-in authorization and caching
  • Arrow8x more performant than hand-rolled APIs
Promo
footer illustration
Brand logo
© 2024 Hasura Inc. All rights reserved
Github
Titter
Discord
Facebook
Instagram
Youtube
Linkedin
graphql-handbook