aidenybai / aidenybai/react-scan
react-scan fails to load
- 主要语言
- TypeScript
- 星标
- 21.8k
- 派生
- 390
- 平均合并
- 23 分钟
- 30 天内合并 PR
- 1
描述
react-scan fails to load on what I assume is a poor internet connection issue. Sometimes appear, sometimes it doesn't. I guess it is because it relies on internet connection and CDNs, in the script tag.
Can we make it more like `Tanstack devtools`? Tanstack devtools always pop up.
```tsx
export function Devtools() {
return (
,
},
formDevtoolsPlugin(),
]}
/>
);
}
```
Then I use it in root `layout.tsx` like this:
```tsx
export default function RootLayout(props: RootLayoutProps) {
return (
{props.children}
{process.env.NODE_ENV !== "production" && }
);
}
```
Tanstack never fails to load. react-scan does, and very often.
贡献指南
评估
这个 Issue 还没有评估数据。