getsentry / getsentry/sentry-javascript
TypeError: dispatcher.getOwner is not a function on RR7+React19
Open
Bug
- Dominant language
- TypeScript
- Stars
- 8.7k
- Forks
- 1.8k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 515
Description
[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)
Contributor guide
Assessment
This issue has not been assessed yet.