-
-
Notifications
You must be signed in to change notification settings - Fork 32.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
Style mismatch between SSR and CSR after hydration #37722
Comments
It doesn't look like this bug report has enough info for one of us to reproduce it. Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve |
Hi @mnajdova, any updates on this? Do you still need additional information? |
Hello @mnajdova, any update on this? |
I think it's safe to assume that MUI in the current state is not a great choice for SSR applications. I'm closing this due to inactivity. |
Not sure if the issue is related to my setup or not, but for some components that rely on inline style such as textField, the style attributes are missing on SSR. I'm facing a style mismatch between SSR and CSR after hydration.
Before hydration:
After hydration:
Maybe they are being added at a later stage after rendering is done?
Originally posted by @iMrDJAi in #19938 (comment)
The text was updated successfully, but these errors were encountered: