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/5Score 0

Which loading flag tells you "the first request is in flight, no data yet"?

Questions in this quiz
  1. Which loading flag tells you "the first request is in flight, no data yet"?
  2. Which hook fetches data?
  3. How do you disable a query conditionally?
  4. A `useQuery` returns `error`. When is it populated?
  5. How can a `queryFn` access the query key?
  6. What does `staleTime` control?
  7. How can you avoid duplicating query keys across the app?
  8. What problem does TanStack Query (React Query) primarily solve?
  9. How do you set a global stale time of 60 seconds for every query?
  10. A user navigates away then back to a list. By default, what do they see?
  11. What is a "dependent query"?
  12. Which hook performs writes (POST/PATCH/DELETE)?
Gaps to close?
Read the curated React-query notes — core concepts, patterns, interview prep.
React-query notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web