Question · React Native course · Module 4: State and API data
useQuery
What is required in useQuery?
Answer options
- Only queryFn
- queryKey and queryFn
- Only queryKey
- url and method
You can check the correct answer by solving this task in the CodeWorlds game.