Material-ui: Warning: Prop `className` did not match Server & Client

Created on 20 May 2018  路  3Comments  路  Source: mui-org/material-ui


After updating to 1.0.0 ( from 1.0.0-beta version) this error appeared.
I have SSR and setuped ssr material line by line according to material documents.

  • [x] This is a v1.x issue (v0.x is no longer maintained).
  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior

for example for tab component:
Getting this error :
Warning: Prop className did not match. Server: "MuiTab-label-327" Client: "MuiTab-label-324"
capture

that couse this :

capture1

Steps to Reproduce (for bugs)

  1. Upgrading to version 1.0.0
  2. That's it.

Your Environment

| Tech | Version |
|--------------|---------|
| Material-UI | v1.0.0 |
| React | v16.3.2 |
| browser | chrome |
| etc | |

incomplete

Most helpful comment

@oliviertassinari ,
Sure, check your gmail please

All 3 comments

@mojilla Could you provide a simple reproduction repository? If you go through our issue history. You will find that it has been reported many many times in the past. I want to start looking into how better guide people into this problem. Providing a reproduction will help me tailor the effort.

@oliviertassinari ,
Sure, check your gmail please

@mojilla I'm sorry but I'm not here to provide free assistance on people projects. We need as simple reproduction example as possible. I'm closing for now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mb-copart picture mb-copart  路  3Comments

TimoRuetten picture TimoRuetten  路  3Comments

revskill10 picture revskill10  路  3Comments

ryanflorence picture ryanflorence  路  3Comments

reflog picture reflog  路  3Comments