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, and staleTime and gcTime are two separate clocks rather than one. v5 removed onError/onSuccess/onSettled from useQuery, so error side effects belong in the component or on the shared QueryCache.

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

Which path applies

Installs
61
GitHub Stars
24
First Seen
Apr 7, 2026
web-server-state-react-query — agents-inc/skills