Skip to content

Conversation

@jennmueng
Copy link
Member

Removes react-dom as a peer dependency from @sentry/react. react-dom is not a dependency on React Native projects and we are adding this unused dependency to our users, or causing unmet peer dependency warnings.

getsentry/sentry-react-native#1328
getsentry/sentry-react-native#1065

@github-actions
Copy link
Contributor

github-actions bot commented Feb 11, 2021

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 20.27 KB (+0.01% 🔺)
@sentry/browser - Webpack 21.18 KB (0%)
@sentry/react - Webpack 21.2 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 27.36 KB (+0.01% 🔺)

@kamilogorek
Copy link
Contributor

From what I see, we indeed do not use react-dom directly in the code. 👍

@kamilogorek kamilogorek merged commit 801bfed into master Feb 18, 2021
@kamilogorek kamilogorek deleted the jenn/remove-react-dom branch February 18, 2021 08:50
ahmedetefy pushed a commit that referenced this pull request Mar 10, 2021
This was referenced Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants