The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
FOUC on npmjs.org in Firefox
- using Firefox, navigate to https://www.npmjs.com/
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
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.