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

A user navigates away then back to a list. By default, what do they see?

In this round
  1. A user navigates away then back to a list. By default, what do they see?
  2. What does the React Query Devtools panel show?
  3. How do you disable a query conditionally?
  4. How does React Query handle multiple components calling `useQuery` with the same key in the same render pass?
  5. What is the role of `queryKey`?
  6. How do you fire multiple queries in parallel?
  7. What does `select` option on `useQuery` do?
  8. After a successful `useMutation`, how do you keep dependent queries up to date?
  9. How do you set a global stale time of 60 seconds for every query?
  10. You must wrap your app in:
  11. How can you avoid duplicating query keys across the app?
  12. What does `gcTime` (formerly `cacheTime`) do?
Gaps to close?
Read the curated React-query notes — core concepts, patterns, interview prep.
React-query notes

More quizzes

.NETAccessibilityAgile MethodologyAirflowAlertmanagerAlgorithms