This is essentially what was called ~20 years ago "Progressive enhancement", and was lost togheter with "Graceful Degradation" when a new generation of "Front-End Engineers" started over-engineering the www around the 2010s.
My impression is that some common sense was lost too along the way. Remember the Rule of the Least Power, anyone?
Good Practice: Use the least powerful language suitable for expressing information, constraints or programs on the World Wide Web.[0]
This is exactly why I love HTMX [1] in combination with PicoCSS[2]. HTMX is just the regular html elements with ajax extensions built into the tags (it is a js library currently but they plan on lobbying to have these as default functionalities with HTML in the future) and picoCSS also works without classes so you are "trained" to use the semantic tags for the page to be rendered beautifully
What I don’t like about htmx is that you have html spread over two very different places - front end and backend. On the backend side you might not even have syntax highlighting.
If you use the principle of least power to make fundamental architectural decisions, you'll get stuck, very soon and very often when the requirements change.
People used to understand that too. But limited functionality frameworks became too enticing to ignore as a user (of the framework), and to sell as a developer. That lead the way into the stuff we have today, that are extendable limited functionality frameworks where the amount of functionality is so large that one hopes never to exceed it.
It's not that common sense gets lost, I think what happens is the lessons keep getting forgotten as the new generation enter the fold, and reinvent old concepts ("everything old is new again").
As an industry we don't do a great job of persisting lessons learned. Not sure how we could, I've got no answers, just an observation of what happens.
My impression is that some common sense was lost too along the way. Remember the Rule of the Least Power, anyone?
[0]: https://www.w3.org/2001/tag/doc/leastPower.html