| I wondered how Unicorn compared to htmx. They're giving an answer on their website: htmx and alpine.js are great libraries to provide interactivity to your HTML. Both of those libraries are generalized front-end framework that you could use with any server-side framework (or just regular HTML). They are both well-supported, battle-tested, and answers to how they work are probably Google-able (or on Stackoverflow). Unicorn isn’t in the same league as either htmx or alpine.js. But, the benefit of Unicorn is that it is tightly integrated with Django and it should “feel” like an extension of the core Django experience. For example: * redirecting from an action uses the Django redirect shortcut * validation uses Django forms * Django Models are tightly integrated * Django messages “just work” the way you would expect them to * you won’t have to create extra URLs/views for AJAX calls to send back HTML because Unicorn handles all of that for you |