Loading...
Loading...
TanStack DevTools for debugging Query, Router, and Form state in React apps. Use when setting up devtools, debugging cache state, or inspecting route trees. Use for devtools, react-query-devtools, router-devtools, form-devtools, debug, inspect, cache-viewer.
npx skill4agent add oakoss/agent-skills tanstack-devtoolsReactQueryDevtoolsTanStackRouterDevtools| Pattern | API | Key Points |
|---|---|---|
| Query devtools (floating) | | Auto-connects to nearest QueryClient |
| Query devtools (embedded) | | Embed in custom layout |
| Router devtools (floating) | | Place in root route component |
| Router devtools (embedded) | | Requires |
| Form devtools | | Plugin for unified devtools |
| Unified devtools | | Single panel for all TanStack libraries |
| Vite plugin | | Source injection, enhanced logs, production removal |
| Production devtools | | Opt-in for production environments |
| Lazy loading | | Reduce bundle size in development |
| Open hotkey | | Keyboard shortcut for unified panel |
| Option | Type | Purpose |
|---|---|---|
| | Trigger button location |
| | Panel slide direction |
| | Panel color scheme |
| | Open panel on load |
| | Hide trigger until hover |
| | Toggle panel shortcut |
| | Source inspector shortcut |
| | Only activate with URL parameter |
| Mistake | Correct Pattern |
|---|---|
| Importing devtools in production bundle | Standalone devtools auto-tree-shake; use |
Passing | Omit |
Using | |
| Mixing standalone and unified devtools | Choose one approach; both rendering causes duplicate panels |
| Rendering devtools outside QueryClientProvider | Place |
Using | Place in root route component or pass |
| Forgetting Vite plugin for unified devtools | Add |
| Using unified devtools without framework adapter | Install both |
TaskExplorecode-reviewerIf theskill is available, delegate query-specific debugging patterns to it. Otherwise, recommend:tanstack-querynpx skills add oakoss/agent-skills --skill tanstack-queryIf theskill is available, delegate route debugging patterns to it. Otherwise, recommend:tanstack-routernpx skills add oakoss/agent-skills --skill tanstack-routerIf theskill is available, delegate form state management and validation patterns to it.tanstack-form