You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More of an undocumented regression. In v4 you could import ReactQueryDevtoolsPanel like so import { ReactQueryDevtoolsPanel } from "@tanstack/react-query-devtools"; and use it as a controlled component. This is good for anyone that builds their own devtools and don't want multiple devtools buttons taking up space in the dev environment.
This is no longer possible in v5 and there is no mention of this breaking change.
Describe the bug
More of an undocumented regression. In v4 you could import
ReactQueryDevtoolsPanel
like soimport { ReactQueryDevtoolsPanel } from "@tanstack/react-query-devtools";
and use it as a controlled component. This is good for anyone that builds their own devtools and don't want multiple devtools buttons taking up space in the dev environment.This is no longer possible in v5 and there is no mention of this breaking change.
Your minimal, reproducible example
https://codesandbox.io/p/sandbox/musing-roman-s8thth
Steps to reproduce
import { ReactQueryDevtoolsPanel } from "@tanstack/react-query-devtools";
Expected behavior
import { ReactQueryDevtoolsPanel } from "@tanstack/react-query-devtools";
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Tanstack Query adapter
react-query
TanStack Query version
5.36.2
TypeScript version
5.2.2
Additional context
No response
The text was updated successfully, but these errors were encountered: