You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NextJS 15 RC was just released, it depends on React 19, would like to upgrade but getting peer dependency issues.
Solution Brainstorm
Not sure if any code changes are needed for Sentry to work properly, but simplest is to update the peer dependency versions for react and react-dom to permit ^19.
We're currently working on React 19 support which is tracked in #11798. Once this is stable, we can also bump the respective peer dependencies in the NextJS SDK as well. Pleaes not though, that we generally only bump peer deps once the new major is stable (as opposed to RC or preview).
I think we can bump the peer dep for React right now considering I've tested it quite a bit already and everything seems to be fine. #12147 is a new feature, so we shouldn't block on it.
Activity
Lms24 commentedon May 24, 2024
Hey @osdiab thanks for writing in!
We're currently working on React 19 support which is tracked in #11798. Once this is stable, we can also bump the respective peer dependencies in the NextJS SDK as well. Pleaes not though, that we generally only bump peer deps once the new major is stable (as opposed to RC or preview).
AbhiPrasad commentedon May 24, 2024
I think we can bump the peer dep for React right now considering I've tested it quite a bit already and everything seems to be fine. #12147 is a new feature, so we shouldn't block on it.
#12207
I won't bump Next.js peer dep though because we have to do a lot more testing for Next.js 15.
feat(react): Add React 19 to peer deps (#12207)
[-]React 19 support[/-][+]Add React 19 peer dep[/+]