查询
让我们整合一个 GraphQL 查询,向用户展示他们的个人任务列表。我们将学习以下概念:
- 使用查询提取数据
- 使用
useQuery
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