Skip to content
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

Open
2 of 5 tasks
cherniavskii opened this issue Jun 3, 2024 · 2 comments
Open
2 of 5 tasks

[data grid] React 19 support #13356

cherniavskii opened this issue Jun 3, 2024 · 2 comments
Assignees
Labels
component: data grid This is the name of the generic UI component, not the React module! React 19 support PRs required to support React 19

Comments

@cherniavskii
Copy link
Member

cherniavskii commented Jun 3, 2024

React 19 demos

Issues

TODO

Search keywords:

@arminmeh
Copy link
Contributor

@cherniavskii are you able to reproduce the Rendered fewer hooks than expected. error locally?
For me, this specific issue does not appear locally (copy of https://codesandbox.io/p/sandbox/late-cookies-8y8j2d) and even on the sandbox grid starts working after you start making some code changes.
Maybe it is only a sandbox related issue for the initial load?

@cherniavskii
Copy link
Member Author

cherniavskii commented Sep 10, 2024

@arminmeh Indeed, I can't reproduce it when running the codesandbox locally.
But it also doesn't seem to be using React 19:

$ 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: pnpm resolves dependencies correctly, I can't reproduce the hooks error locally with React 19 👍🏻
Looks like it's a Codesandbox issue.

@arminmeh arminmeh self-assigned this Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! React 19 support PRs required to support React 19
Projects
None yet
Development

No branches or pull requests

3 participants