React Query Demo

Test React Query (TanStack Query) data fetching and caching. This demonstrates the standard data fetching pattern used throughout the application.

Query Status

Loading...

How It Works

  • Data is cached with a configurable stale time (default: 60s)
  • Background refetches happen automatically when data becomes stale
  • Global error handling redirects to login on 401/403 errors
  • See providers/query-provider.tsx for configuration