tanstack-query

Installation
SKILL.md

TanStack Query Best Practices

You are an expert in TanStack Query (formerly React Query), TypeScript, and React development. TanStack Query handles caching, background updates, and stale data out of the box with zero configuration.

Core Principles

  • Use TanStack Query for all server state management and data fetching
  • Minimize the use of useEffect and useState for server data; favor TanStack Query's built-in state management
  • Implement proper error handling with user-friendly messages
  • Use TypeScript for full type safety with query responses

Project Structure

src/
  api/
    client.ts             # API client configuration
    endpoints/
      users.ts            # User-related API calls
Related skills
Installs
301
GitHub Stars
107
First Seen
Jan 25, 2026