-
-
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
[data grid] Noisy warning, Accessing element.ref was removed in React 19 #13072
Comments
It seems that this warning only occured when using nextjs canary version (v14.3.0-canary.54) |
It's probably related to React 18.3 which introduces warning for APIs deprecated and removed in React 19 |
Let's keep this on the board to track it. 👍🏼 |
My tests while working on Upgrading to material-ui v6 resolves the issue. @scrabase, you can follow the umbrella issue for the React 19 support on the material-ui side. Feel free to add a comment if you need the React 19 support on material-ui v5 because you can't upgrade to v6 |
Hey! Most React 19 changes in Material UI v6 are now backported to Material UI v5, so upgrading to the latest Material UI v5 version should remove the warning (you can follow the backport progress here). |
Steps to reproduce
Link to live example: (required)
Steps:
Current behavior
Full error messages looks like this
Data Grid Toolbar component and Data Grid Header component toolbar keeps noisy warning.
Expected behavior
no warning.
Context
No response
Your environment
npx @mui/envinfo
npx next info
Search keywords: Tooltip, element.ref, react19
The text was updated successfully, but these errors were encountered: