state-tanstack

Installation
SKILL.md

State Management Skill

Patterns for managing state in React applications using Tanstack Query (server state) and Zustand (client/UI state).

When to Use This Skill

  • Setting up data fetching in a new project
  • Implementing mutations with optimistic updates
  • Managing UI state (modals, filters, preferences)
  • Organizing Zustand stores
  • Integrating Tanstack Query with Zustand

Core Principle: Separation of Concerns

Library Purpose Examples
Tanstack Query Server state API data, cached responses, background refetching
Zustand Client state UI state, drafts, local preferences, temporary data
Related skills

More from aussiegingersnap/cursor-skills

Installs
5
GitHub Stars
6
First Seen
Mar 8, 2026