This course is no longer maintained and may be out-of-date. While it remains available for reference, its content may not reflect the latest updates, best practices, or supported features.
变更和查询变量
现在,让我们为用户添加创建新的待办事项的能力,并将它们添加到用户的任务列表。
我们将学习以下概念:
- 创建 GraphQL 变更
- 使用
useMutation
React Hook - 捕获加载/已完成/错误状态
让我们开始吧!
Did you find this page helpful?
Start with GraphQL on Hasura for Free
Build apps and APIs 10x faster
Built-in authorization and caching
8x more performant than hand-rolled APIs

