frontend-data-fetching

Community

TanStack Query patterns for SmartPocket data.

Authorchinomartinez
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Solves the complexity of data fetching and server state management in SmartPocket apps.

Core Features & Use Cases

  • UseQuery and useMutation hooks to fetch and mutate data with TanStack Query.
  • Centralized service layer and query key factories to ensure consistent caching and invalidation.
  • Patterns for cache invalidation, optimistic updates, and server state synchronization across components.

Quick Start

Implement a sample API call using useQuery and useMutation with a service layer following the patterns described.

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: frontend-data-fetching
Download link: https://github.com/chinomartinez/SmartPocket/archive/main.zip#frontend-data-fetching

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.