Skip to content

Commit

Permalink
[docs] Better troubleshooting action for the hydration mismatch (mui#…
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored and Joe Shelby committed Jul 14, 2018
1 parent 5f81c85 commit 2667428
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/pages/guides/server-rendering/server-rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ There is a class name mismatch between the client and the server.
#### Action to Take

The class names value relies on the concept of [class name generator](/customization/css-in-js#creategenerateclassname-options-class-name-generator).
The whole page needs to be rendered with **one generator**, first on the server, then on the client.
The whole page needs to be rendered with **a single generator**.
This generator needs to behave identically on the server and on the client.

### CSS Works on only on first load

Expand Down

0 comments on commit 2667428

Please sign in to comment.