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

Identifier '__vite__injectQuery' has already been declared error

未关闭
#247 12 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
972
派生
55
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。