React Query (TanStack Query) treats server state as a separate concern from client state. It provides automatic caching, background refetching, stale-while-revalidate, pagination, infinite queries, and optimistic updates. Query keys enable cache invalidation. Mutations handle writes with rollback support.
The 5-Mode Loop
5 of 5 modes available
Read · See · Animate · Test · Build
Before this, understand: hooks