nextjs-in-firebase-with-bootstrap icon indicating copy to clipboard operation
nextjs-in-firebase-with-bootstrap copied to clipboard

Flash of unstyled content from server

Open mikemclin opened this issue 7 years ago • 2 comments

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.

mikemclin avatar Dec 20 '17 01:12 mikemclin

@mikemclin Thanks, I'll check it out.

ananddayalan avatar Dec 20 '17 23:12 ananddayalan

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

mikemclin avatar Jan 09 '18 17:01 mikemclin