Login
Roast topics
Find topics
Find it!
From:
Good Code Smell
(Uncensored)
subscribe
Using the Django messages framework with HTMX’s OOB swaps | Good Code Smell
https://blog.benoitblanchon.fr/django-htmx-messages-framework-oob/
links
backlinks
Roast topics
Find topics
Roast it!
As in my previous article, we’ll see how to integrate the Django messages framework with HTMX. This time, however, we won’t use the HX-Trigger header but out-of-band swaps, allowing us to shrink the JavaScript code.