3 ms·
Doesn’t HTMX and alpine do the same thing, effectively? (I haven’t used alpine much)
by dartos 2y ago
Doesn’t HTMX and alpine do the same thing, effectively?
(I haven’t used alpine much)
- __oh_es 2y agoNo. I may not be doing it all justice but my explanation would be that alpine is for client side interactivity and Htmx handles server interactions/server state sync. A form example; htmx would handle a form submit response (eg insert the server response of a html todo item in a todo list on the dom), and alpine would handle the reset of the form values. Htmx and co have their own alpinejs offering called _hyperscript. Definitely one to check out if you’re interested - quite pleasant to work with.