getsentry / getsentry/sentry-javascript

TypeError: dispatcher.getOwner is not a function on RR7+React19

Đang mở
#17,278 9 bình luận 7 reaction 0 người được giao Xem trên GitHub
Bug
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.8k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
515

Mô tả

[https://discord.com/channels/621778831602221064/1400566232754688161/1400566232754688161](https://discord.com/channels/621778831602221064/1400566232754688161/1400566232754688161)

> using sentry/react-router 10.0.0, react router 7.5.3 and react 19.1.0 i get this error in the prod build. any ideas what could be going wrong? some sort of react version mismatch?

Works after you set `NODE_ENV=production`

Related issue: [https://github.com/remix-run/react-router/issues/12138](https://github.com/remix-run/react-router/issues/12138)

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.