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

Core: Change react deps to normal deps #11628

Merged
merged 15 commits into from
Sep 10, 2020
Merged

Core: Change react deps to normal deps #11628

merged 15 commits into from
Sep 10, 2020

Conversation

ndelangen
Copy link
Member

Issue: #11492

This is a proposal for a fix for the above mentioned issue..

Users get warningson missing

What I did

This should remove the warnings for users not using react / react-dom

@gaetanmaisse
Copy link
Member

gaetanmaisse commented Jul 21, 2020

react and react-dom are listed in package.json of apps too (as transitive peer deps) so if we move them to regular deps in core packages we can remove them from apps (and that should fix a lot of Yarn/NPM warnings)

@shilman
Copy link
Member

shilman commented Jul 22, 2020

This looks good to me, but it also looks like a huge destabilizing change and I'm worried about making it in the RC.

We can:

  1. Roll it out & see what happens & potentially roll it back
  2. Wait for 6.1 to make the change

I have a preference towards option 1 if everybody agrees this pushes things forward.

@gaetanmaisse
Copy link
Member

As it, I'm not sure it will remove all warnings and I think there is not much benefit merging this in RC as everything is working fine for now 🤷 I mean it can wait for 6.1 and be part of a bigger work on deps. But I'm not strongly opinionated, both options look ok 😄 🙈

@ndelangen
Copy link
Member Author

react and react-dom are listed in package.json of apps too (as transitive peer deps) so if we move them to regular deps in core packages we can remove them from apps (and that should fix a lot of Yarn/NPM warnings)

I'll see if I can do that today

@ndelangen ndelangen added the maintenance User-facing maintenance tasks label Jul 22, 2020
@ndelangen ndelangen self-assigned this Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants