ananddayalan / nextjs-in-firebase-with-bootstrap

Hosting NextJS app in Firebase with Cloud Functions.
MIT License
24 stars 7 forks source link

Flash of unstyled content from server #2

Open mikemclin opened 6 years ago

mikemclin commented 6 years ago

It appears your boilerplate is suffering from the style-jsx not being rendered on the server causing a flash of unstyled content (even though most of your content is styled due to the CSS file).

I started an issue on this matter here: https://github.com/zeit/next.js/issues/3434. You might want to check over there for a solution. Or if you get it figured out maybe you could also post over there.

ananddayalan commented 6 years ago

@mikemclin Thanks, I'll check it out.

mikemclin commented 6 years ago

Just an update... There seems to have been a breakthrough with getting SSR styles working... zeit/next.js#3434.