Get the latest tech news

Less Htmx Is More


How to build great websites with htmx by learning a couple browser features alongside it.

hx-boost uses the JavaScript History API, which exists to let single-page apps (SPAs) hook into session management functionality, most notably the browser’s forward and back buttons. Aram is a highly experienced web developer who’s using hx-boost to push the boundaries of what’s possible with page navigations; Most people, who just want to add a little interactivity to their webpage, should stick with the simplest tool available: a regular link. I don’t totally understand what security purpose this serves, to be honest, but it’s a bit of a shame, because it means that you can’t make a proper polyfill for PUT and DELETE forms.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of htmx

htmx

Related news:

News photo

Cull Front: A new front end generator for Htmx and AlpineJS

News photo

A modest critique of Htmx

News photo

Augmenting the Client with Htmx