-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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] Warn about checking for version mismatch #12601
[docs] Warn about checking for version mismatch #12601
Conversation
… the client and server when doing SSR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small tweak. Looks good otherwise. 👍
@@ -244,3 +249,21 @@ function handleRender(req, res) { | |||
// Render the component to a string. | |||
const html = renderToString( | |||
``` | |||
|
|||
The second thing to look at is to verify that your client and server are running the **same exact | |||
version** of Material UI. It is possible that a mismatch of even minor versions can cause styling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"exactly the same version"
Done. |
@hluedeke It's a great first pull request on Material-UI 👌🏻. Thank you for giving it a shot! |
Thank you for letting me! Glad I could help! And hope I can help more in the future 👍 |
* Updates the docs to include checking for MUI version mismatch between the client and server when doing SSR. * Markdown style update to properly show diff * Grammar edit * Update server-rendering.md * Update server-rendering.md * Update server-rendering.md
… between the client and server when doing SSR.
First discussed in #12434