Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(react): Remove react-dom peer dependency for RN #3250

Merged
merged 4 commits into from Feb 18, 2021

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
Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
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.

None yet

2 participants