npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

FOUC on in Firefox


  1. using Firefox, navigate to

Expected: page loads without FOUC
Actual: there’s a flash of unstyled content

The reason is because the first <link> is after <body>. If you put it in <head>, before any <script>s, it will prevent the FOUC.

I think I have a fix for this :crossed_fingers:

Just rolled it out! Should be fixed. This had been annoying me too, for over a year.

Thanks so much! Can confirm the FOUC is gone.