Skip to content

Conversation

apedroferreira
Copy link
Collaborator

@apedroferreira apedroferreira commented Apr 25, 2025

As mentioned in #4888, the React Spring dependency is preventing the auth-nextjs-themed example from properly installing as it's not compatible with React 19 and not being actively maintained enough.

This replacement with the MUI Collapse component seems to be similar enough and makes it so we don't need React Spring.

Before:

Screen.Recording.2025-04-25.at.18.19.29.mov

After:

Screen.Recording.2025-04-25.at.18.18.57.mov

@apedroferreira apedroferreira added the examples Relating to /examples. label Apr 25, 2025
@apedroferreira apedroferreira requested a review from a team April 25, 2025 17:18
@apedroferreira apedroferreira self-assigned this Apr 25, 2025
@apedroferreira apedroferreira marked this pull request as ready for review April 25, 2025 17:21
@mui-bot
Copy link

mui-bot commented Apr 25, 2025

Netlify deploy preview

https://deploy-preview-4890--mui-toolpad-docs.netlify.app/

Generated by 🚫 dangerJS against 08437d6

@bharatkashyap
Copy link
Collaborator

Sounds good! Better solution imo than removing the example outright which seems to suggest that the maintenance overhead with our own version upgrades is so great that we can't take it on.

@apedroferreira
Copy link
Collaborator Author

apedroferreira commented Apr 25, 2025

Sounds good! Better solution imo than removing the example outright which seems to suggest that the maintenance overhead with our own version upgrades is so great that we can't take it on.

It's ok, we can just discuss it! Thanks for approving, just gonna need to merge #4891 first for the build to pass, it seems.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 28, 2025
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 29, 2025
@apedroferreira apedroferreira merged commit 546a354 into mui:master Apr 29, 2025
15 checks passed
@apedroferreira apedroferreira deleted the remove-react-spring-from-themed branch April 29, 2025 09:30
@apedroferreira apedroferreira restored the remove-react-spring-from-themed branch April 29, 2025 09:44
@apedroferreira apedroferreira deleted the remove-react-spring-from-themed branch April 29, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples Relating to /examples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants