news.volyx.in

Htmx 4.0 (four.htmx.org)

824 points by rmsaksida · 45 days ago · 252 comments on HN

Article summary

The htmx team has released version 4.0.0 of their library, which includes major changes such as explicit attribute inheritance, standardized event names, and improved history support. The new version also introduces new features like morphing swaps and the hx-partial tag. The team has provided an upgrade tool to help users migrate from version 2 to 4. The release announcement also mentions the library's goal of being a foundation for 100-year web services.

Main themes

  • htmx 4.0 release
  • library features and changes
  • upgrade and migration
  • web architecture and longevity
  • technology comparisons
  • AI-assisted development
  • 100-year web services
  • library goals and philosophy

What commenters say

  • Some users appreciate the simplicity and ease of use of the htmx library, particularly when combined with other technologies like Go, SQLite, and Alpine.js.
  • Others discuss the potential drawbacks of using htmx, including the risk of brittle or poorly planned architecture.
  • There is disagreement about the importance of considering the long-term viability of a web architecture, with some arguing it is a pointless exercise and others believing it is crucial for a website's survival.
  • The choice of version numbering is also discussed, with some finding it amusing that the team skipped version 3 and others explaining the reasoning behind this decision.
  • Some users share their positive experiences with htmx, including its ease of use and ability to build powerful production apps.
  • Others compare htmx favorably to other frameworks, such as React, and appreciate its lightweight and modular nature.
  • The potential for htmx to be used with AI-assisted development tools is also mentioned as a benefit.
  • The idea of a '100-year web service' is seen as ambitious, but some users believe that htmx is a good foundation for achieving this goal.