React Query DevTools

+
UniversalWorks with Expo & React Native CLI

This tool works with both Expo and React Native CLI projects. Just install and go.

Full TanStack Query inspection for React Native. Browse queries, view cached data, simulate states, and debug your data fetching in real-time.

Query List

Query List

Browse all queries with their status—fresh, stale, fetching, or inactive. See query keys and filter by state.

Installation

npm install @buoy-gg/react-query

That's it. The React Query DevTools auto-detects your QueryClient and appears in your FloatingDevTools menu.


Query States

Fresh

Data is valid and up-to-date

Stale

Data needs to be refetched

Fetching

Currently loading data

Paused

Fetch paused (offline)

Inactive

No active observers

Error

Query failed


What You Can Do

Refetch

Manually trigger a fetch

Invalidate

Mark query as stale

Reset

Reset to initial state

Remove

Delete from cache

Loading

Simulate loading state

Error

Simulate error state

Simulate loading & error states — Test how your UI handles loading spinners and error boundaries without waiting for real network conditions.


Mutations

Track all your mutations in real-time:

  • Status — idle, pending, success, or error
  • Variables — data passed to the mutation
  • Response — returned data or error message
  • Timing — when the mutation was submitted

WiFi Toggle

Simulate offline mode with one tap. The WiFi toggle controls React Query's onlineManager to pause all queries — perfect for testing offline-first features.


What's Next