Sadly doesn’t seem to work on ios.
You no longer need JavaScript (for lots of stuff)
Submitted 4 weeks ago by lemmydividebyzero@reddthat.com to technology@lemmy.world
https://lyra.horse/blog/2025/08/you-dont-need-js/
Comments
KairuByte@lemmy.dbzer0.com 4 weeks ago
jubilationtcornpone@sh.itjust.works 4 weeks ago
Personally I like using server side rendering when I can. The UI should be as light weight as possible and you can do a lot with just HTML and CSS. That said, it’s pretty hard to build a responsive web app without at least a little bit of JavaScript.
surewhynotlem@lemmy.world 4 weeks ago
I’m the other way around. For me, the UI can be chonky frameworks or whatever as long as the user experience is good and it works on lots of platforms.
But keep every bit of UI out of my back-end systems. The data and business logic layers should be so divorced from the UI that they didn’t even get visitation rights with the kids.
boonhet@sopuli.xyz 4 weeks ago
Modern server side rendering can luckily be separate from your actual back end. Doesn’t even have to live in the same server.
MonkderVierte@lemmy.zip 4 weeks ago
That said, it’s pretty hard to build a responsive web app without at least a little bit of JavaScript.
Not really. You just need to learn the difference between
widthandmax-width.
I do usercss and 2 of 3 sites use them wrong. That andposition: fixedoveruse.vacuumflower@lemmy.sdf.org 4 weeks ago
That said, it’s pretty hard to build a responsive web app without at least a little bit of JavaScript.
And then the question comes up, why would you need responsiveness. Auto-completion of search results? Hate that crap. Endless scroll with loading additional contents? Hate that crap. Everything blinking and whistling? I suppose JS in that case is possible, but purely for stylistic purposes and not functionality.
AstroLightz@lemmy.world 4 weeks ago
I feel JavaScript should be more of a backend scripting language, like with Node, than a frontend. PHP can already accomplish a lot of what JS can do, just on the server-side as opposed to client-side.
PHP+CSS is really all you need to make something feel good. People often use JS to make a site look good, yet it usually suffers in functionality.
MonkderVierte@lemmy.zip 4 weeks ago
True. I did a HTML+CSS-only gallery when CSS3 just came to be. And was positively surprised a few days ago, that a online gallery browsing had a shareable URL per picture (GET request).
While JS forms should die. They always lose the content on reload.