News for hackers. Stuff that matters.
Re:Building a front end with no JavaScript by nkrisc on Thursday April 11, 2019 @09:56AM (#19634547)
"No JS" sounds better than "Almost no JS except for a line or two for minor usability enhancements."

What's the difference between a site with no JS and a site that has a few lines of inline JS to handle expanding and collapsing comments? Probably nothing, but one sounds better. It's just like how you never hear people bragging about being almost-completely-vegan-except-for-that-one-egg-sandwich-a-month.

Re:Building a front end with no JavaScript by baddox on Thursday April 11, 2019 @10:35AM (#19634921)
People are never impressed by my strict fasting-between-meals regiment̶.
Re:Building a front end with no JavaScript by rpeden on Thursday April 11, 2019 @10:41AM (#19634965)
I, for one, am impressed that you have an entire regiment.

A platoon is the best that most of us could hope for.

Re:Building a front end with no JavaScript by yeahitslikethat on Thursday April 11, 2019 @11:21AM (#19635439)
Strange. I find people are quite impressed with my one meal a day intermittent fasting.
Re:Building a front end with no JavaScript by zzzcpan on Thursday April 11, 2019 @11:21AM (#19635441)
You can't disable javascript in a browser, but leave "a few minor javascript improvements". So the difference is between allowing all the ad tech, surveillance, malware or not.
Re:Building a front end with no JavaScript by nkrisc on Thursday April 11, 2019 @12:11PM (#19636091)
Which is fine. If all your JS is doing is adding a few QoL features like collapsing comments, then your site will still be completely usable if the client chooses to not run JS.

Those that run JS will still load probably just as fast as those without it even if it's not truly "no JS."

Re:Building a front end with no JavaScript by Can_Not on Thursday April 11, 2019 @10:47PM (#19641505)
You can do a lot more than nothing about isolating unwanted javascript. Ublock origin, noscript, privacy badger, use one of many curated hosts files, etc..