-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
good first issueEasy to fix issues, good for newcomersEasy to fix issues, good for newcomers
Description
Examples bug report
Example name
Describe the bug
Also posted here: #2538
Using css prop introduced with styled-components v4 causes Warning: Prop className did not match..
To Reproduce
Add any HTML element with css prop.
Expected behavior
Correctly styled rendering on the server side without any warnings.
Screenshots
System information
- OS: Windows
- Chrome
- Version of Next.js: 8.1.0
Additional context
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/
rocinante42, paulomfr, quantizor, elliotbonneville, dimroth and 713 moredheerajmpai, nftleader, mxmzb, PavloPantus, shinoshu and 12 moreHubro, mxmzb, Abdelfatahh, PavloPantus, francisrod01 and 15 moreibadeeCodes, franzwarning, bhatvikrant, pablog12, VityaSchel and 3 morelucassaid, AndresCampuzano, kefimochi, ctrngk, arsantiagolopez and 13 more
Metadata
Metadata
Assignees
Labels
good first issueEasy to fix issues, good for newcomersEasy to fix issues, good for newcomers
