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

[docs] v6 dashboard template uses react-spring which is not react 19 compatible yet #45211

Open
LittleColin opened this issue Feb 4, 2025 · 0 comments
Labels
docs Improvements or additions to the documentation external dependency Blocked by external dependency, we can’t do anything about it

Comments

@LittleColin
Copy link

LittleColin commented Feb 4, 2025

Related page

https://github.com/mui/material-ui/tree/v6.4.2/docs/data/material/getting-started/templates/dashboard

Kind of issue

Other

Issue description

The document says the only dependencies of the dashboard template are:

Make sure your project has the required dependencies: @mui/material, @mui/icons-material, @emotion/styled, @emotion/react, @mui/x-charts, @mui/x-date-pickers, @mui/x-data-grid, @mui/x-tree-view, dayjs

However the CustomisedTree uses react-spring - this has not yet been made react 19 compatible: pmndrs/react-spring#2341

So the template doesn't compile:

Module not found: Can't resolve '@react-spring/web'

Context

Trying to combine nextjs typescript template with the dashboard template from

material-ui/examples/material-ui-nextjs-ts (which is react 19)
with:
material-ui/docs/data/material/getting-started/templates/dashboard
material-ui/docs/data/material/getting-started/templates/shared-theme

Search keywords: react 19 react-spring dashboard template resolve @react-spring/web

@LittleColin LittleColin added status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: docs-feedback Feedback from documentation page labels Feb 4, 2025
@mj12albert mj12albert added docs Improvements or additions to the documentation external dependency Blocked by external dependency, we can’t do anything about it and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: docs-feedback Feedback from documentation page labels Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation external dependency Blocked by external dependency, we can’t do anything about it
Projects
None yet
Development

No branches or pull requests

2 participants