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
Hi,
I have a quite uncommon setup in my app, where my default layout and route is not in the main app package, but spread across packages in a pnpm monorepo. I guess that somehow the plugin detection of the entrypoint is messed up, and I can't see the devtools anywhere. The plugin is definitelly doing something, since the additional metadata is in the DOM.
Is there a way to manually inject the tools and not to rely on the vite plugin?
The issue ended up being a missing Links component.
I was using the React 19 <Link>, but since the Links component wasn’t included in the root file, the dev tools couldn’t inject the related CSS. Because of that, it looked like the component wasn’t rendering at all.
I just added the React Router Links component alongside my other links in the root file and everything started working.
It would be nice if this worked without needing to explicitly include Links, though.
If I try to add the plugin from the react-router developer tool I get Devtools file not found
In the server console instead, I get
[@tanstack/devtools-vite] Could not add plugin. Devtools file not found.
[@tanstack/devtools-vite] Adding @tanstack/react-query-devtools to devtools...
Quick note.
I managed to get the React Router and React Query devtools working by using the TanStack Devtools.
Right now I see two devtools icons (the RR7 one and the TanStack one):
when I click the TanStack icon I can see both plugins: React Query and React Router;
when I click the RR devtools icon I only see the React Router plugin.
What I’d like to do is use only the TanStack devtools, but if I remove the devtools from the Vite configuration I no longer see some React Router information (like the timeline).
This worked wonderfully, thanks!
However, on hover, the component I am on is always highlighted. Is this normal? Also the shift+click does not work. :(
Any idea what could be happening?
Activity
indramal commentedon Jan 5, 2026
Same issue
AlemTuzlak commentedon Jan 13, 2026
@sneridagh yes there is, you can install @tanstack/react-devtools and add the react-router devtools as a plugin into there:
indramal commentedon Jan 13, 2026
Is this support Declarative Mode of react router?
indramal commentedon Jan 14, 2026
I got __vite__injectQuery error message when add this dev tool. Why is that and how to solve it?
martialanouman commentedon Feb 2, 2026
Hi, i got the same issue with RR7 framework mode with Turborepo.
fabricioffa commentedon Feb 17, 2026
The issue ended up being a missing Links component.
I was using the React 19
<Link>, but since theLinkscomponent wasn’t included in the root file, the dev tools couldn’t inject the related CSS. Because of that, it looked like the component wasn’t rendering at all.I just added the React Router
Linkscomponent alongside my other links in the root file and everything started working.It would be nice if this worked without needing to explicitly include
Links, though.irsooti commentedon Feb 17, 2026
it doesn't work in framework mode.
If I try to add the plugin from the react-router developer tool I get
Devtools file not foundIn the server console instead, I get
irsooti commentedon Feb 18, 2026
Quick note.
I managed to get the React Router and React Query devtools working by using the TanStack Devtools.
Right now I see two devtools icons (the RR7 one and the TanStack one):
What I’d like to do is use only the TanStack devtools, but if I remove the devtools from the Vite configuration I no longer see some React Router information (like the timeline).
sneridagh commentedon Apr 10, 2026
@AlemTuzlak Trying to setup the devtool again, this time with vite 8 and latest RR7.
This worked wonderfully, thanks!
However, on hover, the component I am on is always highlighted. Is this normal? Also the shift+click does not work. :(
Any idea what could be happening?
Screen.Recording.2026-04-10.at.19.46.40.mov