Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

Out with the JavaScript, in with the HTML

The article discusses a shift in web development towards using simple HTML for interactivity instead of JavaScript, highlighting how features like the `<details>` element, form-based navigation, and `popover` attributes can reduce complexity and improve performance.

Related stories

  • A developer replaced a JavaScript web component that handled icon resizing on a static site with multiple pre-rendered HTML pages, each serving icons at a different size. By using navigation between pages instead of client-side JS, the site gained CSS view transitions for free, simplified maintenance, and eliminated duplicated templating logic.