-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[data grid] React 19 support #13356
Comments
@cherniavskii are you able to reproduce the |
@arminmeh Indeed, I can't reproduce it when running the codesandbox locally. $ npm ls
├── @emotion/react@11.13.3
├── @emotion/styled@11.13.0
├── @mui/icons-material@6.0.2
├── @mui/material@6.0.2
├── @mui/x-data-grid-generator@7.16.0
├── @mui/x-data-grid-pro@7.16.0
├── @types/react-dom@18.3.0
├── @types/react@18.3.5
├── react-dom@18.3.1
├── react-scripts@5.0.1
├── react@18.3.1
└── typescript@4.9.5 Not sure why though 🤔 UPD: |
With https://nextjs.org/blog/next-15 stable, depending on react@19.0.0-rc, and used at 10% https://tools-public.mui.com/prod/pages/npmVersion?package=next, we might want to prioritize this one. It's unclear if we need to cherry-pick it back to MUI X v7. React might ship v19 stable in a few days. https://bsky.app/profile/react.dev/post/3lawuio3hac2u suggests that it could be soon. |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. |
React 19 demos
DataGrid
DataGridPro
DataGridPremium
Issues
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
Example: https://codesandbox.io/p/sandbox/intelligent-jerry-2jgvqy
[material-ui] Accessing element.ref was removed in React 19 material-ui#42604
"Rendered fewer hooks than expected."
Reproducible in both
DataGridPro
andDataGridPremium
, but not inDataGrid
.Example: https://codesandbox.io/p/sandbox/late-cookies-8y8j2d
No warnings in React 18.3.1: https://codesandbox.io/p/sandbox/cool-dream-4zznnh
TODO
Draft PR: [core] Add
react-next
workflow in CircleCI #13360Reference Material UI PR: [material-ui] Make tests compatible with React 19 material-ui#43155
peerDependencies
to include^19.0.0
once data grid works with React 19Search keywords:
The text was updated successfully, but these errors were encountered: