htmx is great

I build a small application, and for the first time I used htmx. Unfortunately I must not show you anything, but the htmx library (combined with Bootstrap5) is fun.

Did you use Django for the backend?

If so, was there anything noteworthy about your app? Any strange things with integrating Django and htmx?

I’ve had some interest in htmx too, but I haven’t hit a use case for it yet so I’ve not tried it out.

1 Like

htmx works like documented. And questions at Stackoverflow with this tag get answered soon.

I had one small issue: If you want a snippet to do a full-page reload, then the server should send a special http header. But the status code should be 200 (not 302 like in my first implementation).

I documented this here:

For me htmx is like a straight line. The shortest way to get from A to B. Don’t ask me why it took me so long that to discover that something like this is missing.

1 Like