-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[core] Hydration error using nextjs turbopack and icons-material #44055
Comments
@siriwatknp may I ask you to take a look at this one? |
It's related to package manager from what I've tried but not sure what's the root cause. with yarn
with pnpm
However, without using cc @Janpot do you know what might be the root cause of this? The error seems to be that the icons does not use the cache from the custom CacheProvider in |
@siriwatknp can you try with the codesandbox builds of #43264 (all @mui packages) |
Awesome, it works with |
@siriwatknp @Janpot so this one will be fixed by #43264? Is there a workaround we can provide in the meantime? |
Hey @FabianRueckert, and anyone stumbling upon this issue. #43264 is the fix for this, but it's a breaking change we can't release outside a new major version. We will include this fix in the next major release. If you need a workaround in the meantime, you can try to patch the
Example on how to patch
|
Proper dual ESM/commonjs packages were released in
Please report back to us with a reproduction if the problem persists |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @FabianRueckert How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Steps to reproduce
Link to live example: https://codesandbox.io/p/devbox/elegant-alex-xrjs5l
Steps:
next dev --turbo
Related to #34905
Current behavior
Hydration Error:
Expected behavior
No hydration error.
Context
Trying to run NextJS with MUI and turbopack.
Your environment
See codesandbox
Search keywords: nextjs hydration error mui icons turbopack
The text was updated successfully, but these errors were encountered: