Describe the bug#
If we have multiple instances of Query DevTools, actions on one affect the other instance.
Your minimal, reproducible example#
https://stackblitz.com/edit/tanstack-react-query-dev-tools-issue?file=README.md
Steps to reproduce#
Open the example on the provided link
- Open the devtools
- Click on Query A and Query B to see both dev tools panels (each has its own query client)
- Click on a query on Query A
- Click on a query on Query B
- We see that the previous panel's details are hidden
- Press trigger loading (or any other query option)
- We see the same query details on both panels now
Expected behavior#
Each query devtools should be isolated and actions in one should not affect the other one
How often does this bug happen?#
Every time
Screenshots or Videos#
No response
Platform#
Tanstack Query adapter#
react-query
TanStack Query version#
v5.76.1
TypeScript version#
No response
Additional context#
No response
Created a PR 10006 can you take a look @TkDodo can you take a look?