-
-
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
[DataGrid] Revert apiRef
to be MutableRefObject
for React versions < 19
#16320
Conversation
Deploy preview: https://deploy-preview-16320--material-ui-x.netlify.app/ |
@arminmeh Still issue for React 18.x
|
@igortas is this with version 7.24.1? |
@arminmeh yes, I've tried with clean |
can you post your |
I get the same issue as well but for DataGridPro.
|
@arminmeh I am having the same issue.
my
|
Found the problem It is only appearing in Pro and Premium packages I will open a PR with the fix. |
@arminmeh Could we have the PR link? |
Here is the PR with the fix |
@arminmeh After updating to 7.24.1, I'm still getting this error. I dive into the code in the the node_modules and see it's still using React.RefObject. My app is using React 18.3.1. |
@NathanVeeva the linked PR is merged but not released yet. It should be released by the end of this week. |
@arminmeh I see this got pushed through with #16348 which seems to work for
|
@NathanVeeva thanks for reporting I will create a PR with the fix. Update: |
Manual cherry-pick of #16279