aidenybai / aidenybai/react-scan

react-scan fails to load

Open
#445 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.8k
Forks
390
Avg merge
23m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.