3 ms·
I used to use no-js/js classes too, but stopped because scripts being enabled isn't a guarantee that a given external script will run successfully (adblockers,
by wildpeaks 5y ago
I used to use no-js/js classes too, but stopped because scripts being enabled isn't a guarantee that a given external script will run successfully (adblockers, connection error, etc).
Nowaways I default to "js isn't available" state, and if the script(s) is able to load, then it augments or hydrates the static markup.