State Management · Junior · Question 44 of 75

What is RTK Query?

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.

Further reading

Problem with a question

State Management · Junior · question 44

Test yourself

Take the State Management · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz