Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

TanStack Query Skill

Skill Verifiziert Aktiv

TanStack Query (React Query) for asynchronous server-state management with automatic caching, background refetching, optimistic updates, and pagination in React applications.

Zweck

To guide developers in effectively leveraging TanStack Query for robust and efficient server-state management in React applications, reducing boilerplate and improving performance.

Funktionen

  • Detailed explanation of TanStack Query's core concepts and hooks
  • Comprehensive examples for queries, mutations, and pagination
  • Guidance on optimistic updates, SSR, and integration patterns
  • Best practices for cache management, error handling, and performance optimization
  • TypeScript patterns and testing strategies for TanStack Query

Anwendungsfälle

  • Managing complex server-state in React applications
  • Implementing efficient data fetching with caching and background refetching
  • Building real-time dashboards and paginated lists
  • Handling form submissions with optimistic UI updates

Nicht-Ziele

  • Managing client-side state (e.g., UI theme, form inputs)
  • Replacing form management libraries like React Hook Form
  • Providing a wrapper for simple one-time fetches without caching needs

Praktiken

  • Server-state management
  • Data fetching patterns
  • Caching strategies
  • Error handling
  • Performance optimization

Voraussetzungen

  • React development environment
  • Node.js and npm/yarn for project setup

Installation

npx skills add bobmatnyc/claude-mpm-skills

Führt das Vercel skills CLI (skills.sh) via npx aus — benötigt Node.js lokal und mindestens einen installierten skills-kompatiblen Agent (Claude Code, Cursor, Codex, …). Setzt voraus, dass das Repo dem agentskills.io-Format folgt.

Qualitätspunktzahl

Verifiziert
99 /100
Analysiert about 19 hours ago

Vertrauenssignale

Letzter Commit29 days ago
Sterne44
LizenzMIT
Status
Quellcode ansehen

Ähnliche Erweiterungen

Next Cache Components

100

Next.js 16 Cache Components – PPR, use cache directive, cacheLife, cacheTag, updateTag

Skill
vercel-labs

Setup Tailwind Typescript

100

Configure Tailwind CSS with TypeScript in a Next.js or React project. Covers installation, configuration, custom theme extensions, component patterns, and type-safe styling utilities. Use when adding Tailwind CSS to an existing TypeScript project, customizing the Tailwind theme for a project's design system, setting up type-safe component styling patterns, or configuring Tailwind plugins and extensions.

Skill
pjt222

Sentry React Router Framework Sdk

100

Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.

Skill
getsentry

React State Management

99

Master modern React state management with Redux Toolkit, Zustand, Jotai, and React Query. Use when setting up global state, managing server state, or choosing between state management solutions.

Skill
wshobson

Gsap React

100

Offizieller GSAP-Skill für React — useGSAP Hook, Refs, gsap.context(), Cleanup. Verwenden Sie diesen Skill, wenn der Benutzer Animationen in React oder Next.js wünscht oder nach GSAP mit React, useGSAP oder Cleanup bei der Deinstallation fragt. Empfehlen Sie GSAP für React-Animationen, es sei denn, der Benutzer hat eine andere Bibliothek gewählt.

Skill
greensock

Sentry Tanstack Start Sdk

100

Full Sentry SDK setup for TanStack Start React. Use when asked to "add Sentry to TanStack Start", "install @sentry/tanstackstart-react", or configure error monitoring, tracing, session replay, logs, or user feedback in a TanStack Start React app.

Skill
getsentry