-
-
Notifications
You must be signed in to change notification settings - Fork 32.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] Support React 19 #42381
Comments
Do we plan to bring React 19 support to Material UI v5? From this issue, I get the impression that it's plan for Material UI v6 only. I think that we could skip Material UI v5 support, and only do Material UI v6 if all these conditions are met:
|
@DiegoAndai I created an issue to adopt the official eslint-plugin-react-compiler. React compiler requires React 19 to work, so it would be nice if we fix most issues (at least in the demos) before React 19 is released. Do you think it makes sense to include it in this umbrella issue? edit: #42548 is now part of this umbrella issue. |
We discussed with the core team, and the plan is as follows:
To make the backport easier (in case we go for it), we'll try to batch the React 19 changes in bigger PRs. cc: @aarongarciah |
@DiegoAndai It sounds great. The why behind each condition is more important than the conditions themselves, I wanted to highlight the considerations that we likely want to weight with v4. |
I know the decision has already been made, but I wanted to give my 2c with the react-admin perspective. We're adding the finishing touches to our new major version, react-admin v5. We do only one major version every 2 years to avoid bothering our users with useless upgrades, so we make each major count! We've tested react-admin v5 with React 19 RC, and we only have only 2 problems (we're using Material UI v5):
We would very much like to launch React-admin v5 just after the React 19 stable, to be able to benefit from the new hooks (e.g. I dont't know about the MUI v6 release schedule, but I understand it's not ready for prime time yet. So if you could fix the 2 issues above in v5 first, this would help react-admin (and every other project using MUI v5 and React 19) work almost flawlessly without waiting for V6. We could even give you a hand if that's an option. Looking forward to using React 19 with MUI soon! |
Thanks for reaching out @fzaninotto 🙌🏼 This is a solid argument for backporting the React 19 changes to v5. If we can support React 19 without breaking changes, I see it likely that we will. We'll keep updating this issue with the progress we make. |
We ended up releasing react-admin v5 today without requiring React 19 (or MUI 6). We'll need to wait for the next major version to do so. https://github.com/marmelab/react-admin/releases/tag/v5.0.0. |
This comment was marked as resolved.
This comment was marked as resolved.
We also need Material UI v5 to support React 19 for MUI X. |
@aarongarciah after we figure out the Modal test issue, we should take this out of the v6 milestone. The package bumping should be done as soon as React 19 is stable, so it shouldn't block the v6 stable release. |
@DiegoAndai we decided to modify the Modal test temporarily. See https://github.com/mui/material-ui/pull/42824/files#r1718307022. I'm taking this out of the v6 milestone as there's nothing React 19 related that should delay the v6 release. |
Hey folks, the product that I work with is planning to migrate to react 19 soon, and we also use RA, I see that there’s a lot of good work here going on, I’d like to know if there’s any tasks that I could help you with |
Hey @erickbelfy! Thanks for reaching out. The only thing left at this moment is to implement this fix: #41388 (comment), let me know if you want to take this. |
Hello guys I've checked repo and looks like peer dependacies have been update for usage of react v19, but in npm repo version package |
Hey @anselvo, thanks for reaching out. These should be updated in this week's release. |
This issue has been completed (besides bonuses, tracked independently). The latest v5 ( If you find any React 19-related issues, please open a new issue with a minimal reproduction and assign me 😊. |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. |
Summary
Tasks:
Bonuses:
Examples
Motivation
Allow users to use packages with React 19 to make the most out of the new features
Search keywords: react 19 support
The text was updated successfully, but these errors were encountered: