A professional Chrome DevTools extension for debugging TanStack Query applications across all frameworks.
- Real-time Query Inspection - Live monitoring of all queries and mutations with instant state updates
- Interactive Data Editing - Edit query data directly in DevTools using professional JsonView interface
- State Manipulation - Trigger loading and error states for comprehensive UI testing
- Complete Cache Management - Invalidate, refetch, reset, and remove queries with one-click actions
- Mutation Tracking - Monitor mutations with variables, status, and result inspection
-
Install the extension from Chrome Web Store
-
Setup your application to expose the query client globally:
// Add this line where you create your query client window.__TANSTACK_QUERY_CLIENT__ = queryClient;
-
For TypeScript projects, create a
global.d.ts
file in your project root:interface Window { __TANSTACK_QUERY_CLIENT__: import("@tanstack/query-core").QueryClient; }
-
Open Chrome DevTools (F12) in your application
-
Navigate to the "TanStack Query" tab
-
Start debugging with real-time query inspection!
Web Application (TanStack Query)
↓ Detection & State Extraction
Injected Script (Application Context)
↓ Message Passing
Content Script (Bridge)
↓ Chrome APIs
Background Service Worker
↓ DevTools Connection
React DevTools Panel
# Install dependencies
npm install
# Build extension
npm run build
# Load extension in Chrome
# 1. Open chrome://extensions/
# 2. Enable "Developer mode"
# 3. Click "Load unpacked"
# 4. Select the `dist` folder