tanstack-query-expert

Community

Master async state with TanStack Query.

Authorbaselakkad585-maker
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TanStack Query Expert reduces boilerplate and flaky data fetching in React apps by replacing ad-hoc useEffect-based requests with a cohesive, cache-driven approach.

Core Features & Use Cases

  • Declarative data fetching using useQuery and custom hooks to encapsulate logic
  • Fine-grained cache control via staleTime, cacheTime, and retry settings, plus automatic cache invalidation on mutations
  • SSR hydration and Next.js App Router integration for seamless server-to-client data sharing

Quick Start

Create a simple useUser hook that fetches data with useQuery, using a stable key and a 5-minute stale time.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tanstack-query-expert
Download link: https://github.com/baselakkad585-maker/basel-dev-skills/archive/main.zip#tanstack-query-expert

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.