Replies: 2 comments
-
I am pretty sure that's a bug. Maybe you can report it. I stopped using scss modules just because of that, and moved to styled jsx components |
Beta Was this translation helpful? Give feedback.
0 replies
-
I made a basic app with components with css modules and faced the same issue, but the lag is very small. I think Css modules are not server rendered. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
NextJs version: 9.4.0
Hi there, i have a basic app running which uses:
I notice that on first render of the app, the components are rendered without the sass stylings, both global and local. Wait 1 to 2 seconds, and the sass styles start to apply on the browser. Styles props are happening on first render though. App continues to work as expected after that first render.
Have not dig deep yet, but i suspect its something simple i did wrong. Like maybe a config i missed out?
Beta Was this translation helpful? Give feedback.
All reactions