Why does the CSS flash on page reload?

cssflash

This is because the CSS is in the JavaScript build in development mode to allow hot-reloading via webpack. This flash is called FOUC.

No need to worry though, in production mode the CSS is separated and put in the header so this flash of unstyled content will not occur.

Contributors

Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!

Platinum Sponsors

Storyblok Support Us