All quizzes
Free quiz · 50 questions in the bank

React-query quiz

Test your React-query knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

Which hook fetches data?

In this round
  1. Which hook fetches data?
  2. `refetchInterval: 30_000` does what?
  3. How do you disable a query conditionally?
  4. Which hook performs writes (POST/PATCH/DELETE)?
  5. How do you fire multiple queries in parallel?
  6. How can you avoid duplicating query keys across the app?
  7. What does `gcTime` (formerly `cacheTime`) do?
  8. After a successful `useMutation`, how do you keep dependent queries up to date?
  9. You must wrap your app in:
  10. How can a `queryFn` access the query key?
  11. What does `select` option on `useQuery` do?
  12. What is a "dependent query"?
Gaps to close?
Read the curated React-query notes — core concepts, patterns, interview prep.
React-query notes

More quizzes

.NETAccessibilityAgile MethodologyAlertmanagerAlgorithmsAndroid