-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] Upgrade monorepo #6549
[core] Upgrade monorepo #6549
Conversation
@@ -43,6 +43,14 @@ module.exports = withDocsInfra({ | |||
return { | |||
...config, | |||
plugins, | |||
resolve: { |
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.
See mui/material-ui#32107 (comment)
I don't really understand why this change is necessary
These are the results for the performance tests:
|
@@ -77,6 +77,7 @@ module.exports = { | |||
'jsdoc/require-returns': ['error', { contexts: ['TSFunctionType'] }], | |||
'jsdoc/require-returns-type': ['error', { contexts: ['TSFunctionType'] }], | |||
'jsdoc/require-returns-description': ['error', { contexts: ['TSFunctionType'] }], | |||
'react/no-unstable-nested-components': ['error', { allowAsProps: true }], |
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.
To fix new eslint errors https://app.circleci.com/pipelines/github/mui/mui-x/26220/workflows/f133aad6-a5b3-405b-815d-86526f207584/jobs/150743.
See mui/material-ui#34518 and https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-unstable-nested-components.md#rule-options for more details.
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.
The demo in https://deploy-preview-6549--material-ui-x.netlify.app/x/react-data-grid/layout/#predefined-dimensions has a fixed-height div wrapping the div that is shown in the preview. If the height of the inner div is changed in the preview, the layout breaks.
@m4theushw I think we can just remove the wrapper div. I'm not sure what was the original intention there |
It does not surprise me that setting a height too large implies breaking the doc layout. It's interesting to have access to this value quickly, to get the following interaction:
|
To support live demo editing introduced in mui/material-ui#34454
Preview: https://deploy-preview-6549--material-ui-x.netlify.app/x/react-data-grid/layout/
master
branch [core] Upgrade monorepo #6570