4 ms·
Most sites/apps I work on are progressively enhanced (https://www.gov.uk/service-manual/technology/using-progressive-enhancement https://www.gov.uk/service-manu
by michalc 1mo ago
Most sites/apps I work on are progressively enhanced (https://www.gov.uk/service-manual/technology/using-progressive-enhancement https://www.gov.uk/service-manual/technology/using-progressi...)
So far I've used a little bit of htmx (2) for one of them, and I really love it. Just a few attributes and we get some very reasonable progressively enhanced client/server interactive elements without full page loads.
Not sure I would choose if I had to make a SPA - it's partially from ignorance, but right not not sure how to avoid spaghetti. But I think it makes me even more strongly consider _not_ making a SPA
- duxuev 1mo agoTIL! One more reason to like gov.uk. I had no idea this was a standard but in hindsight it's quite obvious that's the case. I wonder how much of a burden it is at times, and how one can enforce this with automation?
- michalc 1mo agoI would say it's only really a burden if you fight it, or don't expect to have to do it and right at the end someone asks "er... does this work without JavaScript?". My attitude is that it's a combination of freeing and a challenge: "we can and should make it simple, even boring" Automatic enforcement for all services is tricky, because you _can_ depend on JavaScript if the user needs justify it.
- huflungdung 1mo ago[dead]