Fetch and display server data using React Query useQuery hook

InstructorTomasz Ducin

Share this video with your friends

Send Tweet

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.