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

NODE UPDATE: v4 to v5 MUI Update #14

Open
dwbond opened this issue Nov 19, 2023 · 0 comments
Open

NODE UPDATE: v4 to v5 MUI Update #14

dwbond opened this issue Nov 19, 2023 · 0 comments

Comments

@dwbond
Copy link
Collaborator

dwbond commented Nov 19, 2023

MUI 5 is the current stable version; MUI 6 is still under development, so this will completely catch us up. https://mui.com/versions/

Luckily provided are very extensive upgrade notes, with detailed instructions including all breaking changes https://mui.com/material-ui/migration/migration-v4/

High level description is react gets upgraded (to react 18, the currently supported version-- we are currently on 16.14), then all of the "@material-ui" packages get updated to the abbreviated "@mui" packages, with additional new MUI 5 "emotion packages".

At this point, you can either ctrl + f all of the above mentioned breaking changes and fix them first, or you can brute force things by running the application and fixing all of the runtime errors. Alternatively, there's a number of tools out there that can try to do this for you that should be pretty comprehensive, since people started working through the transition in 2021. https://mui.com/blog/mui-core-v5/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant