Best of HTMXJuly 2025

  1. 1
    Article
    Avatar of newstackThe New Stack·46w

    Why React Is No Longer the Undisputed Champion of JavaScript

    React's dominance in frontend development is being challenged by modern browsers, HTML-first frameworks, and developer preferences for simpler solutions. While React remains popular, alternatives like Astro, HTMX, and native DOM APIs are gaining traction by offering lighter, faster approaches. React Server Components represent React's attempt to adapt, but add complexity. The shift represents a move from React-by-default to choosing the right tool for each project, marking a post-React era of diversified frontend tooling.

  2. 2
    Article
    Avatar of lobstersLobsters·44w

    Why you should choose HTMX for your next web-based side project - and ditch the crufty MPA and complex SPA

    HTMX offers a middle ground between traditional Multi-Page Apps (MPAs) and complex Single-Page Apps (SPAs) by extending HTML to support partial page reloads. This approach allows developers to create modern web experiences with the simplicity of MPAs while avoiding the complexity and overhead of SPAs. For side projects where time and budget constraints are critical, HTMX provides an efficient way to build interactive web applications without the steep learning curve and infrastructure requirements of modern JavaScript frameworks.

  3. 3
    Article
    Avatar of lobstersLobsters·46w

    Our Fullstack Architecture: Eta, HTMX, and Lit

    A fullstack architecture combining Eta templating for server-side rendering, HTMX for dynamic interactions, and Lit Web Components for complex client-side logic. This approach delivers fast initial page loads with minimal JavaScript bundles (151KB vs 635KB-2.6MB for React apps) while maintaining rich interactivity. The stack uses server-rendered HTML as the foundation, HTMX for 90% of user interactions, and Lit components as 'islands of interactivity' for stateful client-side features like pagination. View Transitions API provides smooth animations between content updates.