# Tanstack query

> Best practices for TanStack Query v5 (React Query) server state management, including query key factories, the queryOptions helper, mutations.

- Page: https://youraiskill.com/skill/mindrally-tanstack-query
- What it does: Best practices for TanStack Query v5 (React Query) server state management, including query key factories, the queryOptions helper, mutations, optimistic updates, infinite queries, and Suspense mode. Use when fetching or caching server data in React, writing custom query/mutation hooks, setting up a QueryClient, implementing optimistic updates, or migrating v4 patterns to v5.
- Niches: react, backend, frontend
- Licence: Apache-2.0
- Status: Free on GitHub: not rated 7 or higher by Claude yet, or it does something a person should look at first (for example runs programs or calls the internet), or its licence or authorship needs a look. Never sold.
- Contents: instructions and reference files only

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
