mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

One thing that I'm missing with HTMX and Django is proper error handling.

By default HTMX swallows any response that is not a 2xx, which might leave your users hanging on an endless loading state.

Does anyone have a good solution for this that can be reused between projects?

@anze3db I’m not sure there’s a better way than what you’re doing right now that doesn’t involve listening for the responseError event and writing client-side JS. They could add hx-error-swap / hx-error-target, for example, to implement this. Might be worth suggesting. (1/2)