getsentry / getsentry/sentry-javascript

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

Abierto
#17,278 9 comentarios 7 reacciones 0 asignados Ver en GitHub
Bug
Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
1.8k
Merge medio
1 d 17 h
PR fusionados (30 d)
515

Descripción

[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)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.