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] Enable innerRef on ListItem and MenuItem #14423

Merged
merged 1 commit into from
Feb 5, 2019

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Feb 5, 2019

Required in MenuList and missed in #13722.

Prerequisite for #13676 and partially addresses #14415. Filing this as a separate PR so that it won't be lost in changelog.

@eps1lon eps1lon added new feature New feature or request component: menu This is the name of the generic UI component, not the React module! labels Feb 5, 2019
@eps1lon eps1lon added this to the v4 milestone Feb 5, 2019
@eps1lon eps1lon force-pushed the feat/MenuList/enable-proper-refs branch from 4b9c69c to 2814821 Compare February 5, 2019 19:50
@@ -28,7 +28,7 @@ module.exports = [
name: 'The size of the @material-ui/core modules',
webpack: true,
path: 'packages/material-ui/build/index.js',
limit: '91.2 KB',
limit: '91.3 KB',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once we fully commit to forwardRef push it is probably a good idea to reexamine how much it actually cost. I feel like most of this is due to the local displayName "logic" and we can probably move this to the getDisplayName logic in withStyles.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eps1lon I think that we should take advantage of the v4 breaking change card it's offering us to aggressively try changes, then adjust based on the people & real life implications.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My exact same thoughts. I would've waited a bit longer usually (especially concerning the RFC) but I think it's ok to implement RFCs prematurely so that people can play around with it and actually see the impact of those changes.

@eps1lon eps1lon merged commit 937b162 into mui:next Feb 5, 2019
@eps1lon eps1lon deleted the feat/MenuList/enable-proper-refs branch February 5, 2019 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: menu This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants