-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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] Add react-is dependency #18551
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same problem with the lab.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! You need to run yarn
again in the monorepo. yarn v1 has sometimes issues with yarn workspace * add
.
Can't wait for yarn v2 which catches these issues at runtime.
This dependency is called in Menu.js but is not listed in package.json
No bundle size changes comparing 73fb52a...7311379 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/material-ui-lab/package.json needs it as well
I also noticed that material-ui-utils is using react 16.8.0 and react-utils 16.8.6. Is this wanted or it's an issue ? @eps1lon |
@HeadFox It's a great first pull request on Material-UI 👌🏻. Thank you for working on it! |
I'm using material-ui since the v1 ! |
@HeadFox awesome. If you could change, add, or remove one thing in the framework, what would it be? |
This dependency is called in Menu.js but is not listed in package.json
I detected this problem when I runned a project with yarn berry (v2) using pnp.
The Menu.js component is using 'isFragment' function from the react-is library.
The only package.json that have react-is is in @material-ui/utils.
This change is also related to the #17317