web-server-state-react-query
Installation
SKILL.md
React Query Patterns
Quick Guide: React Query owns the server cache — what was fetched, how long it stays fresh, and when it is evicted. Every entry is identified by its
queryKey, andstaleTimeandgcTimeare two separate clocks rather than one. v5 removedonError/onSuccess/onSettledfromuseQuery, so error side effects belong in the component or on the sharedQueryCache.
Detailed Resources:
- examples/core.md — generated client output, provider and auth setup, consuming query options, fetch timeouts
- examples/error-handling.md — component states, global handlers, retry backoff, error boundaries
- reference.md — configuration and error-strategy lookup, v4 → v5 migration table