With the useQuery hook, you can make queries directly in your components!
To get started you just need to provide a queryKey and a queryFn.
queryKey
queryFn