code-forge-io / code-forge-io/react-router-devtools

Identifier '__vite__injectQuery' has already been declared error

Open
#247 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
972
Forks
55
PR merge metrics
No merged PRs in 30d

Description

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

```js
,
defaultOpen: true,
},
{
name: "TanStack Form",
render: ,
},
]}
eventBusConfig={{
connectToServerBus: true,
}}
/>
```

But I got that error. When I remove `` in TanStackDevtools code. My app work fine.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.