We have two versions of our product: (1) SPA-like experience and (2) <14kb, <200 lines of css, <30 lines of JavaScript.
We are debating whether to maintain the LiteMode (the SPA is actually SSR, we've decoupled our MVC well, so maintaining the LiteMode is only 20% more work). This got me thinking. What if we made the LiteMode entirely text-only, maybe with some optional CSS. No JavaScript.
I tested HN and it degrades fairly well. Some things such as the comment toggle doesn't work. There's actually a HTML <details> element nowadays provides this toggability out of the box without JavaScript. At any rate, is it worth voiding the LiteMode of any and all JavaScript? Do people browse the internet with JavaScript disabled?
I recently gave it a shot on an old, sluggish iPad. I was blown away at how many websites just…don’t work, or only partially render.
It’s part of the modern web stack, and catering to those who disable JS is like catering to those who run FreeBSD - they exist, and they’re smart people, but their numbers are so small that catering to them makes no sense from a business perspective (unless they are a target demo).
With that said, removing the interpreted JavaScript runtime from your site is a laudable goal and things should be smoother, faster, and lighter.