Ask questionsWarning: Prop className did not match.
Also posted here: #2538
css prop introduced with styled-components v4 causes
Warning: Prop className did not match..
Add any HTML element with
Correctly styled rendering on the server side without any warnings.
Here is an example I created to demonstrate the issue: https://codesandbox.io/embed/jlwvwyy0ow
Open this and refresh once the building is done: https://jlwvwyy0ow.sse.codesandbox.io/
Answer questions probablyup
Hey there, please update babel-plugin-styled-components to the latest version which should fix css prop mismatches: https://github.com/styled-components/babel-plugin-styled-components/releases/tag/v1.10.1
I've noticed an error message in development still, but no ill effects from it so can be safely ignored.