Hacker News new | past | comments | ask | show | jobs | submit login
Golang, Htmx, alpinejs and tailwindcss. the new stack (github.com/xnpltn)
2 points by xnpltn 16 days ago | hide | past | favorite | 2 comments



Doesn’t HTMX and alpine do the same thing, effectively?

(I haven’t used alpine much)


No. 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: