tanstack-query

Installation
SKILL.md

TanStack Query v5 - Complete Guide

TanStack Query v5 (October 2023) is the async state manager for this project. It requires React 18+, features first-class Suspense support, improved TypeScript inference, and a 20% smaller bundle. This section covers production-ready patterns based on official documentation and community best practices.

Breaking Changes in v5

Key updates you need to know:

  1. Single Object Signature: All hooks now accept one configuration object:
    // ✅ v5 - single object
    useQuery({ queryKey, queryFn, ...options })
    
    // ❌ v4 - multiple overloads (deprecated)
    useQuery(queryKey, queryFn, options)
    
Related skills
Installs
2
GitHub Stars
277
First Seen
Jan 28, 2026