aidenybai / aidenybai/react-scan

react-scan fails to load

Đang mở
#445 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
21.8k
Fork
390
Merge trung bình
23 phút
Pull request đã merge (30 ngày)
1

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.