Hacker News new | ask | show | jobs
by paxys 1128 days ago
None of these sites on your list would be operable without JavaScript, even with reduced functionality. Heck Hacker News, probably the gold standard for simple websites, would itself be unusable. You wouldn't even be able to get the upvote/downvote buttons to work.
4 comments

> Heck Hacker News, probably the gold standard for simple websites, would itself be unusable. You wouldn't even be able to get the upvote/downvote buttons to work.

Hacker News upvote/downvote buttons work without Javascript

I was under the impression that a few versions ago, links got a "ping" feature. Having an upvote icon become a link with a "/#" href would keep it from refreshing, and the ping would send data about the vote.

I'm not entirely sure that sort of feature requires javascript at all.

It wasn't sait _without_ but with _reduced_ JS.

JS is fine for dynamic contents (likes, upvotes) but the rest of the page can be completely static...

Do you really need to see likes being updated in realtime? Or infinite scrolling (instead of sane pagination)?

That's why I said a minimum of JS, not none. You don't need 500KB of frameworks for an upvote button