Comments on: A Progressive Enhancement Challenge https://frontendmasters.com/blog/a-progressive-enhancement-challenge/ Helping Your Journey to Senior Developer Wed, 22 Oct 2025 20:27:27 +0000 hourly 1 https://wordpress.org/?v=6.8.3 By: Chris Hoffman https://frontendmasters.com/blog/a-progressive-enhancement-challenge/#comment-42925 Mon, 06 Oct 2025 13:37:46 +0000 https://frontendmasters.com/blog/?p=7324#comment-42925 I think you have the answer in your first “Downside”:

You can probably account for that by applying a more specific class just for this situation and applying it after the code that implements auto-saving.

Except you can use feature detection rather than waiting for the all the JS to finish. Something like:

const { classList } = document.documentElement;

if ('fetch' in window) {
  classList.add('fetch-available');
} else {
  classList.add('js');
}

Granted, this won’t help if, say, fetch is available but the network is down; but then again, you loaded the page in the first place, so you’re most of the way there.

]]>
By: Chris Coyier https://frontendmasters.com/blog/a-progressive-enhancement-challenge/#comment-42603 Fri, 03 Oct 2025 19:01:29 +0000 https://frontendmasters.com/blog/?p=7324#comment-42603 https://www.alanwsmith.com/en/33/7x/11/gd/

]]>