TanStack Errors
CommunityGuided TanStack error handling patterns and tips.
Software Engineering#tanstack#error-handling#react-query#error-boundaries#retry-patterns#global-callbacks
Authorsalmanrrana
Version1.0.0
Installs0
System Documentation
What problem does it solve?
TanStack Query error handling can be complex and error-prone; this skill provides structured guidance to implement consistent strategies across local components, boundaries, and global layers.
Core Features & Use Cases
- Local error handling: manage per-component errors with isError, error boundaries, and throwOnError strategies.
- Error Boundaries: centralize critical failures to show user-friendly fallbacks.
- Global error handling: central onError callbacks via QueryClient and MutationCache to avoid duplicate alerts.
- Use cases: handle 4xx/5xx responses, network issues, and failed retries with clear UX patterns.
Quick Start
Explain and apply best-practice TanStack Query error-handling patterns in your React app to handle local, boundary, and global errors.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: TanStack Errors Download link: https://github.com/salmanrrana/brain-dump/archive/main.zip#tanstack-errors 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 223,000+ vetted skills library on demand.