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: remove unused react-dom from peerDependencies #2126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ogonkov
Copy link
Contributor

@ogonkov ogonkov commented Feb 20, 2025

react-dom was used in Toaster

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@gravity-ui-bot
Copy link
Contributor

Visual Tests Report is ready.

@ogonkov ogonkov changed the title fix: remove unused react-dom from peerDependencies fix: remove unused react-dom from peer dependencies Feb 21, 2025
@ogonkov ogonkov changed the title fix: remove unused react-dom from peer dependencies fix: remove unused react-dom from peerDependencies Feb 21, 2025
@ogonkov ogonkov force-pushed the chore/rm_react_dom_peer branch from 543e6f5 to 5adab77 Compare February 21, 2025 12:13
@amje
Copy link
Contributor

amje commented Feb 27, 2025

@ogonkov I think keeping it has no harm. In case if we need it again later we won't be locked by major change adding a peer

@ogonkov
Copy link
Contributor Author

ogonkov commented Feb 27, 2025

@amje in projects without react-dom this cause error on install, because react-dom@19 resolved by npm

I dont see point to keep in peers dependency that we didnt use in code

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