After two years of experience with htmx, the author concludes that using plain HTML wherever possible creates a better user experience and easier maintenance. Instead of adopting a SPA approach with `hx-boost`, which introduces several issues, the recommendation is to use regular links and forms that leverage the built-in capabilities of browsers. Examples are given to demonstrate how to create dynamic content updates without sacrificing the core benefits of traditional page navigation. Advances in browser technology further support this approach, ensuring faster and more reliable web applications.

10m read timeFrom unplannedobsolescence.com
Post cover image
Table of contents
How should we use htmx?What is hx-boost?What's wrong with hx-boost?What should I do instead?What about the benefits of hx-boost?Why does hx-boost exist then?Is there ever a time I should use htmx to make an SPA?
1 Comment

Sort: