I got this error in browser console. Error is Identifier '__vite__injectQuery' has already been declared error.
These are steps I did,
Step 1 - Installed this - npm install react-router-devtools -D
Step 2 - Added to vite config file in first place - reactRouterDevTools(),
Step 3 - Add this tool with Tanstack devtool
<TanStackDevtools
plugins={[
{
name: "React Router Devtools",
render: <EmbeddedDevTools />,
defaultOpen: true,
},
{
name: "TanStack Form",
render: <FormDevtoolsPanel />,
},
]}
eventBusConfig={{
connectToServerBus: true,
}}
/>
But I got that error. When I remove <EmbeddedDevTools /> in TanStackDevtools code. My app work fine.
I got this error in browser console. Error is
Identifier '__vite__injectQuery' has already been declarederror.These are steps I did,
Step 1 - Installed this -
npm install react-router-devtools -DStep 2 - Added to vite config file in first place -
reactRouterDevTools(),Step 3 - Add this tool with Tanstack devtool
But I got that error. When I remove
<EmbeddedDevTools />in TanStackDevtools code. My app work fine.