TanStack Devtools version#
0.10.0
Framework/Library version#
React v19..2.4
Describe the bug and the steps to reproduce it#
When React StrictMode is enabled, you are unable to unmount the devtools from the DOM.
Some recent change, has caused a regression where if the devtools component is wrapped in React's <StrictMode> component, then trying to unmount the dock just does nothing.
This behaviour does not occur when not wrapped in StrictMode and therefore not in production.
Load up the sandbox and try to toggle the devtools. Then remove StrictMode and try again.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)#
https://stackblitz.com/edit/github-qn28exza?file=src%2Findex.tsx
Screenshots or Videos (Optional)#
No response
Do you intend to try to help solve this bug with your own PR?#
None
Terms & Code of Conduct#
Hi @SeanCassiere, thanks for the detailed report and for including a reproducible sandbox! :pray:
It looks like the Framework/Library version field contains
0.10.0, which appears to be the TanStack Devtools version again rather than the framework you're using (e.g.React v18.2.0).Since this bug is specifically about React StrictMode behavior, knowing the exact React version would help narrow down whether this is a known React regression or something version-specific to your setup.
Could you update the issue with:
Thanks again for taking the time to file this!