Showcase how to use the `useQuery` hook from React Query to fetch data from a GraphQL API, including handling loading, error, and data states.
Showcase how to use the `useQuery` hook from React Query to fetch data from a GraphQL API, including handling loading, error, and data states.