-
-
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
Update to @material-ui/core v5 #441
Comments
Please provide a minimal reproduction test case. This would help a lot 👷 . |
Oh, you have installed |
I never got a warning about dependency in the console and also I didn't realize that Also, I don't know if this is coming from
|
The peer dependency warning is definitely here:
It's the same, the data grid isn't compatible with v5. We can't have it support v4 and v5 at the same time. I have added the |
@oliviertassinari Thanks for considering to update to |
Hey, i came to this after update to webpack 5 and need to update material-ui, would cool to have a v5 for this awesome grid! |
@arpu I'm confused, do you need support for webpack v5 or Material-UI v5? |
Material-UI v5 |
We can use https://npm-stat.com/charts.html?package=%40material-ui%2Fcore&package=%40material-ui%2Fstyled-engine to follow the relative adoption of v5 by the community vs. v4. At this point in time, it's marginal. How about we switch as soon as v5 enters in the beta phase? |
@oliviertassinari I think it is a great decision. As core v5 is receiving all the new features i.e new styling engine. I think it is fair that data-grid migrates to v5 after the beta. |
Do you have an ETA on when v5 enters beta? |
is there any ETA on this? |
While we have previously shared our plan to drop v4 support for the data grid and move to v5 only once v5 reaches the beta phase (the point in time where no more breaking changes are released), we can probably do more. We are going to look into concurrent support of v4 and v5 for the data grid. In theory, it should be possible to support both at the same time. It would be a good stress test for us, to make sure the migration isn't too painful. |
At this point in time, we are aware of two compatibility issues that need to be handled:
|
Fixed in #855. The next release v4.0.0-alpha.18 will be compatible with Material-UI v4 and v5. We don't plan to duplicate the documentation. https://next.material-ui.com/components/data-grid/ will encourage to look at https://material-ui.com/components/data-grid/. We plan to drop Material-UI v4 support once Material-UI v5 enters the beta phase (the end of BCs) which should allow more adoption. |
Current Behavior 😯
Whenever I press the next button, I get this error
TypeError: onPageChange is not a function
Steps to Reproduce 🕹
Steps:
Context 🔦
I think there were some breaking change which were introduced in the
@material-ui/core: v5-alpha.12
as this was working fine withalpha.11
Your Environment 🌎
The text was updated successfully, but these errors were encountered: