react-data

Community

Diagnose React-TS data patterns with confidence.

AuthorWTFox
Version1.0.0
Installs0

System Documentation

What problem does it solve?

React and TypeScript codebases often suffer from data-fetching and state-management pitfalls, including using useEffect for API calls, missing loading or error states, and mismatched types and schemas.

Core Features & Use Cases

  • TanStack Query-based data fetching with proper caching, error handling, and background updates
  • Structured query keys for precise cache invalidation and scalable mutations
  • Type-safe schemas derived from Zod, preventing TS/Zod drift and runtime validation
  • Contextual patterns to avoid prop drilling and simplify shared UI state

Quick Start

Convert a useEffect data fetch to TanStack Query and validate responses with a Zod schema to ensure type-safety and correct caching.

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: react-data
Download link: https://github.com/WTFox/dotfiles/archive/main.zip#react-data

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.