react-query-usequery-patterns
CommunityBest-practice useQuery architecture in React.
Software Engineering#react#patterns#deduplication#react-query#tanstack-query#component-architecture#usequery
Authortianhuil
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Streamlines and standardizes data fetching in React apps by teaching how to architect useQuery calls for maximum deduplication and portability.
Core Features & Use Cases
- Co-located useQuery calls across components to ensure a single network request and shared cache
- Custom hook patterns to centralize query configuration and promote reuse
- Use of select to minimize re-renders and optimize performance for specific UI slices
Quick Start
Provide a concise guide showing the recommended useQuery patterns for React components to maximize deduplication.
Dependency Matrix
Required Modules
None requiredComponents
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-query-usequery-patterns Download link: https://github.com/tianhuil/dotfiles/archive/main.zip#react-query-usequery-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.