aidenybai / aidenybai/react-scan

react-scan fails to load

オープン
#445 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
21.8k
フォーク
390
平均マージ
23分
マージ済み PR(30日)
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。