2 ms·
>Whether websites have to work without any JavaScript at all is a question almost as old as the web itself. By now, the answer is clear: No, they don’t. It’s fi
by andai 1y ago
>Whether websites have to work without any JavaScript at all is a question almost as old as the web itself. By now, the answer is clear: No, they don’t. It’s firmly established that websites should be more than just structured and styled text. JavaScript execution is an integral part of (almost) every browser.
The page this text is on, proves that isn't true!
- YannickR 1y agoYou‘re absolutely right, not every web page „should“ include interactive elements. What I wanted to express is that web pages shouldn’t be forced into being only structured styled Text and instead should be encouraged to embrace interactivity.
- motorest 1y ago> The page this text is on, proves that isn't true! The page does not have to do anything other than serve static content. That's hardly what most sites require nowadays.
- andai 1y agoMost React sites do the same thing. They put text and images on a page. And most of those don't do anything you couldn't have done without JS. (And most of them find a way to do it slower, on low end devices!)
- motorest 1y ago> Most React sites do the same thing. Citation needed. > And most of those don't do anything you couldn't have done without JS. Please explain how you plan to develop a webpage that fetches data from an API without using JavaScript. Explain what alternative you think there is, what resources you need to develop them, and enumerate your tradeoffs. After you do that exercise, you will be aware of why the world gravitated towards SPA-like, client-side WebApps.