Open pkhodaveissi opened 3 years ago
I ran into this also.
I set up a custom document for next.js that configures styled components for server side rendering (see example). This at least got styles rendering correctly, however I still see the className mismatch console error you allude to.
Describe the bug Using rimble-ui within nextjs project gives this warning:
Warning: Prop
className
did not match. Server: "sc-gsDJrp sc-lgkoQy sc-hIfwMU ctiSSV hJYniQ hUBFOd" Client: "BoxStyledBox-ha1bw0-0 BaseButtonStyledButton-sc-1o9z2ni-0 SolidButton__StyledSolidButton-goy2oa-0 hEwKXO jjNsaJ gxrTYq"To Reproduce Use one of rimble comps within nextjs
Rimble UI Version
Desktop: