-
-
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
[v5] Support React 19 in Material UI v5 #44413
Comments
On hold until React 19 is stable and #42824 is merged. With the already backported changes, users should be ready to start trying v5 with React 19. |
Hi! Any updates when this will be released? v5 or v6? Thanks! |
Hey @julianCast, this was already released in v6. Expect the v5 release early next week. That being said, you should already be able to use v5 with React 19; the only thing missing is some internal dependency changes. |
Thank you. I'm guessing one of those deps will be Type error: Type 'React.ReactNode' is not assignable to type 'import("/Users/julian/Documents/GitHub/mycell/frontend/packages/opsa/node_modules/@types/react-transition-group/node_modules/@types/react/index").ReactNode'.
import { Autocomplete } from "@mui/material";
Type 'bigint' is not assignable to type 'ReactNode'.
<Autocomplete
...
renderGroup={(params) => (
221 | <li key={params.key}>
222 | <GroupHeader>{params.group}</GroupHeader>
> 223 | <GroupItems>{params.children}</GroupItems>
| ^
224 | </li> |
Just released I'm closing this as completed. If you find any React 19 related issues with v5, please open a new issue with a minimal reproduction. @julianCast we haven't found this type error in our tests. May I ask you to open a new issue for it so we can debug it? Thanks. |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. |
Backport the React 19 related changes from v6 to v5 so we support the upcoming React release on v5.
List of PRs to backport (Merged | Open):
The text was updated successfully, but these errors were encountered: