State Management · Junior · Question 44 of 75
What is RTK Query?
- ✓Correct answer: A data fetching and caching tool built into Redux Toolkit
- 2A query language for selecting data from the Redux store
- 3A GraphQL server for Redux apps
Explanation
You describe endpoints with createApi, and it generates hooks (useGetPostsQuery) and manages caching, deduplication, refetching and invalidation - similar to TanStack Query but living in the Redux store.