-
Notifications
You must be signed in to change notification settings - Fork 833
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] Sort props ASC #1928
[core] Sort props ASC #1928
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/mui-org/material-ui-pickers/5ijlta85u |
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
@@ -29,12 +29,15 @@ export function useIsLandscape( | |||
getOrientation() | |||
); | |||
|
|||
const eventHandler = React.useCallback(() => setOrientation(getOrientation()), []); |
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.
Simplification
Do you make all this sortings manually? If so – we need some automate solution for that |
We have a constraint on sorting the prop types, otherwise eslint crashes. It would be cool if we can extended this static analysis. |
reduceAnimations, | ||
slideDirection, | ||
className = undefined, |
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.
Remove dead code.
ce7f4ee
to
4ff5dfc
Compare
One step closer to solve #1631 and mui/material-ui#19706.