I wish JS would die and we get nice and simple websites back. I hate web dev so god damn much. The internet is pure enshittification
Comment on Google now requires JavaScript
PresidentCamacho@lemm.ee 1 month agoAll of the people replying to this saying you shouldn’t need JS are totally unaware how modern web development works.
Yes, you could do many sites without JS, but the entire workforce for web development is trained with JS framework. To do otherwise would slow development time down significantly, not allow for certain functionality to exist (functionality you would 100% be unhappy was missing).
Its not a question of possibility, its a question of feasibility.
SaharaMaleikuhm@feddit.org 1 month ago
PresidentCamacho@lemm.ee 1 month ago
I don’t know how to tell you this, but removing JS doesn’t turn the internet into a wonderland. Capitalism is to blame for enshitification not JS
ClassifiedPancake@discuss.tchncs.de 1 month ago
I’m a React dev. You can create server side websites, written in JS, that don’t require JS to be turned on in the browser. Granted, this just became a new official feature in React but has already been available with React frameworks like NextJS
PresidentCamacho@lemm.ee 5 weeks ago
That is insane! I’m wondering how they handle modifying the DOM w/ out JS, did HTML 5 get a significant update? I gotta look into this because that sound super interesting.
ClassifiedPancake@discuss.tchncs.de 5 weeks ago
It’s called Server Components. If you actually build a fully static website, there is no DOM modification going on. I would actually not recommend doing that with React. The goal of it is to have a mix of both. The initial render is super fast because it is prerendered once for everyone. Then dynamic data is being fetched if needed and elements are replaced. It also improves SEO.
React 19 is not yet officially released but you can read more about it here react.dev/blog/2024/04/25/react-19
PresidentCamacho@lemm.ee 5 weeks ago
So you’re offloading the JS processing onto the server? I cant be understanding this correctly because there is no way anyone wants to pay for the serverside cost of something that used to be an end user “cost”. Also this would add interaction latency.
SSJMarx@lemm.ee 1 month ago
My question is if it wasn’t required before and is required now, what changed? It’s not like Google has added a killer feature recently - this is almost certainly related to those shitty AI answers that are forcing your actual search results even further down the page than they were already.
auzy@lemmy.world 1 month ago
Even things like lazy loading and such require js though
A lot of features might not be obvious honestly
If you’re interested though, you could check the source which should be able to tell you immediately what they use it for
Crashumbc@lemmy.world 1 month ago
I love how Lemmy users just assume everyone is a coder… Just a funny observation, not being rude. Lol
auzy@lemmy.world 1 month ago
Presumably… If you’re complaining about the use of Javascript, you have some coding knowledge. Otherwise it’s like complaining about the steering wheel in a car, when you can’t drive and don’t have a licence
PresidentCamacho@lemm.ee 1 month ago
It wasn’t required, but id wager 99% of website that exist currently run JS in some form or another for something. Id wager its impossible to have anything dynamic on a webpage without JS (minus visual dynamics which can be handled with css), at that point you have to replace it with a different programming language and every browser needs to completely change gears to allow other code to run instead. But what advantage is gained by changing to another programming language? Cleaner code w/ less jankyness? Sure I guess, but we would be moving mountains to accomplish a silly thing.
I’m wondering if many people in this thread understand what JS is and does.