News for hackers. Stuff that matters.
Re:js;dr = JavaScript required; Didn’t Read. by pkage on Sunday January 17, 2021 @03:13PM (#25814473)
HN gets frothing mad about javascript, and to some extent I agree: sites that are fundamentally about content (news websites, blogs, etc.) should not be locked behind JS gates. The amount of code bloat on those pages tends to be related to tracking and advertising, so not running JS on those pages makes sense.

On the other hand, web applications that provide full-featured experiences are only possible because of the full spectrum of web technologies. Choosing not to run JS and claiming that Google Docs should work without JS is ridiculous.

Re:js;dr = JavaScript required; Didn’t Read. by mixmastamyk on Sunday January 17, 2021 @03:20PM (#25814537)
It’s almost as if you should pick the right tool for the job. ;-)
Re:js;dr = JavaScript required; Didn’t Read. by nicbou on Sunday January 17, 2021 @03:27PM (#25814604)
We all agree on that. I just suspect that Hacker News only knows about two jobs: massively distributed applications and their static blog.

In the middle, you have countless SPAs, but also slightly interactive websites that are 90% content, and 10% calculators/maps/widgets.

Re:js;dr = JavaScript required; Didn’t Read. by ehutch79 on Sunday January 17, 2021 @04:01PM (#25814916)
It's not like those widgets need a full routing system with ssr, etc. Even with vue, you can just drop that component on the page.
Re:js;dr = JavaScript required; Didn’t Read. by RussianCow on Sunday January 17, 2021 @04:13PM (#25815014)
But add enough of those widgets to a page, and now you need to coordinate local state, sync it with the URL, etc, which is way easier to do when the whole page is a SPA.
Re:js;dr = JavaScript required; Didn’t Read. by ehutch79 on Sunday January 17, 2021 @04:24PM (#25815104)
But at that point your site is more an application than content
Re:js;dr = JavaScript required; Didn’t Read. by RussianCow on Tuesday January 19, 2021 @12:28PM (#25835948)
It's not always so cut and dry; some content websites are very interactive.
Re:js;dr = JavaScript required; Didn’t Read. by kyawzazaw on Sunday January 17, 2021 @03:37PM (#25814689)
feel so true
Re:js;dr = JavaScript required; Didn’t Read. by resynth1943 on Sunday January 17, 2021 @03:15PM (#25814489)
Aside: outline.com is useful for news websites which require JavaScript.
Re:js;dr = JavaScript required; Didn’t Read. by dredmorbius on Monday January 18, 2021 @01:05PM (#25824605)
Many but by no means all.

I increasingly rely on either Internet Archive's Wayback Machine (which also fails remarcably often to fully, or even partially, present SPAs), or Archive.today (archive.is, archive.fo, and friends), which is painfully slow to acquire content but does manage to render most it attempts.