Modern frontend development has accumulated enormous complexity due to the growing gap between source code (TypeScript, JSX, React) and what browsers actually execute. This post traces that history from static HTML pages through AJAX and SPAs, then proposes a simpler alternative stack: HTMX for server-driven UI and SPA-style routing, HTML Web Components for reusable behavior, Mustache for server-side templating, and TailwindCSS for styling. A working Java/Spring Boot example demonstrates full-page vs. fragment responses, client-side validation, translations, integration testing with jsoup, and a minimal build pipeline — all without a heavy JavaScript toolchain.
Table of contents
It was simple back thenSource Code vs Browser RuntimeWhat is essentialA simpler alternativeThere is a simpler waySort: