Building an HTML-first site doubled our users overnight(mohkohn.co.uk)
1233 points by edent 1 day ago | 558 comments
tl;dr: A developer rebuilt a UK utility company's broken React-based application form as an HTML-first site using Astro, with progressive enhancement via web components and server-side form state persistence. The form worked without JavaScript, on outdated browsers, and on poor connections, with validation handled by a tiny custom web component wrapping native HTML validation. After launch, form completions doubled overnight—revealing how many users JavaScript-heavy analytics had been silently failing to count.
HN Discussion:
  • Confusion about why progressive enhancement would be considered more work by other developers
  • Sharing related HTML-first patterns and tech stacks that align with the article's philosophy
  • Self-doubt about not understanding React, validating the appeal of simpler approaches
  • The improvement came from better design, not from ditching React; framing is misleading
  • Counterpoint defending SPAs and React as still being viable choices