Hacker News new | past | comments | ask | show | jobs | submit login

AlLpine.js is a great jQuery replacement.

I'm using Alpine.js in a Django project and it does what it says on the tin. It blends well with the MVT style of Django along with HTMX and makes the client side interactions really easy. This is now my favorite JS framework for doing light client side JS magic.




I agree with your point. Django + HTMX + AlpineJS makes the web application development completes.


If you add in Tailwind you get the PHAT stack (python htmx alpine tailwind)


We use alpine as well, very simple to add in for some simple reactive uis. Flask+Alpine seems to work well for us.


what's wrong with jQuery?


Nothing, if it works for you great! I’ve found Alpine code to be more declarative and easier to reason about. Also, jQuery often requires you to write more code to do the exact same thing in Alpine. One thing jQuery does better is AJAX, Alpine doesn’t have builtin AJAX tools. I’ve made a plug-in to bridge that gap though: https://imacrayon.github.io/alpine-ajax/




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

Search: