查询

让我们整合一个 GraphQL 查询,向用户展示他们的个人任务列表。我们将学习以下概念:

  • 使用查询提取数据
  • 使用 useQueryhook
  • 处理加载/错误状态

让我们开始吧!

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