A bug 馃悰 .
After upgrading styled-jsx from 3.2.1 to 3.2.2 we noticed our entire web app flashes unstyled content in production (hosted with zeit). However, this is not reproducible within a development environment (now dev).
Yes
@maxchehab can you provide a test case? Maybe a minimal Next.js app that I can clone and try out
@giuseppeg Sorry for the lag.
We resolved this by removing styled-jsx as a dependency for our project.
It seems since we are using NextJS (which depends on styled-jsx), including styled-jsx was causing conflicts with our css (maybe with generated class names?).
Again, sorry for not responding quicker.
Specifically, we had [email protected] in our package.json and next/[email protected]. Having both versions was causing unstyled content to flash.
(@maxchehab and I are on the same team)
Most helpful comment
Specifically, we had
[email protected]in ourpackage.jsonandnext/[email protected]. Having both versions was causing unstyled content to flash.(@maxchehab and I are on the same team)