-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[material-ui][docs] Add first batch of v6 migration #42242
Conversation
Hey @siriwatknp! I merged #42194. I'll complete the deprecations section as soon as possible. |
On React, we decided on React 17 |
Signed-off-by: Diego Andai <diego@mui.com>
@siriwatknp I updated the PR after some breaking changes were added to the migration guide in other PRs. I haven't forgotten about adding the |
@danilo-leal @samuelsycamore I think this is ready as the first batch of the migration guide. |
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.
A few notes! I'm looking forward to seeing what Sam thinks of them!
docs/data/material/migration/migrating-to-v6/migrating-to-v6.md
Outdated
Show resolved
Hide resolved
docs/data/material/migration/migrating-to-v6/migrating-to-v6.md
Outdated
Show resolved
Hide resolved
docs/data/material/migration/migrating-to-v6/migrating-to-v6.md
Outdated
Show resolved
Hide resolved
### UMD bundle was removed | ||
|
||
To align with React 19's removal of UMD builds, Material UI has also removed its UMD bundle. | ||
This results in a reduction of the `@mui/material` package size by 2.5MB or 25% of the total package size. |
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.
I feel like we should mention this in the "why you should migrate" section — will propose something
docs/data/material/migration/migrating-to-v6/migrating-to-v6.md
Outdated
Show resolved
Hide resolved
docs/data/material/migration/migrating-to-v6/migrating-to-v6.md
Outdated
Show resolved
Hide resolved
docs/data/material/migration/migrating-to-v6/migrating-to-v6.md
Outdated
Show resolved
Hide resolved
docs/data/material/migration/migrating-to-v6/migrating-to-v6.md
Outdated
Show resolved
Hide resolved
docs/data/material/migration/migrating-to-v6/migrating-to-v6.md
Outdated
Show resolved
Hide resolved
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.
Looking great to me! Will let Sam give the final approval 🤙
docs/data/material/migration/migrating-to-v6/migrating-to-v6.md
Outdated
Show resolved
Hide resolved
docs/data/material/migration/migrating-to-v6/migrating-to-v6.md
Outdated
Show resolved
Hide resolved
docs/data/material/migration/migrating-to-v6/migrating-to-v6.md
Outdated
Show resolved
Hide resolved
|
||
This reduces the API surface and lets you define variants in other slots of the component. | ||
|
||
## Pigment CSS integration (optional) |
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.
Just a note so we put this at the top (even if we're still building the section)
docs/data/material/migration/migrating-to-v6/migrating-to-v6.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Signed-off-by: Siriwat K <siriwatkunaporn@gmail.com>
I missed the chance to review but this is looking great! Nice job on the migration doc! |
@samuelsycamore I think we can/should review the whole migration doc structure and writing before the stable release. When all content is ready. This way, we avoid spamming you with notifications. |
I appreciate that @DiegoAndai ! I will be most useful in this process as an alpha tester and copyeditor, so it does make the most sense to loop me in at the very end. 👍 |
Preview: https://deploy-preview-42242--material-ui.netlify.app/material-ui/migration/migrating-to-v6/
Out of scope