Hacker News new | ask | show | jobs
by TameAntelope 1484 days ago
JS is not optional in 2022. This will upset a lot of Gen Xers, but it's true.

"Do not exert meaningful effort building a website that can function without JS." is the advice I would give a developer trying to build a new site in 2022.

1 comments

Optional implies that user do something very intentional to disable JS.

But there are some cases where things go south without user direct intervention. Just to name a few:

- some edge bug that will render your whole site as a gorgeous white page - some browser extension that mess up with a site - some network configuration/condition that prevent JS loading correctly (think of a broken DNS)