From ca4afefdc9a13f05481442f3c7567ebe7ad21b32 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Fri, 24 May 2024 07:34:51 -0400 Subject: [PATCH] feat(react): Add React 19 to peer deps (#12207) Closes https://github.com/getsentry/sentry-javascript/issues/12200 From my personal testing everything works with with React 19, so we can bump the peer dep. For the new error APIs, there is https://github.com/getsentry/sentry-javascript/pull/12147, but that PR is draft while we get feedback from the React team. --- packages/react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/package.json b/packages/react/package.json index 4bee0dfc85ad..ee3c5b669aae 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -49,7 +49,7 @@ "hoist-non-react-statics": "^3.3.2" }, "peerDependencies": { - "react": "^16.14.0 || 17.x || 18.x" + "react": "^16.14.0 || 17.x || 18.x || 19.x" }, "devDependencies": { "@testing-library/react": "^13.0.0",