Question · JavaScript and React course · Module 10: React Ecosystem and Future
useQuery in React Query
What is required in the useQuery configuration?
Answer options
- Only queryFn
- queryKey and queryFn
- queryKey, queryFn and staleTime
- Only queryKey
You can check the correct answer by solving this task in the CodeWorlds game.