4 ms·
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 Dja
by FlyingSnake 4y ago
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.
- rajasimon 4y agoI agree with your point. Django + HTMX + AlpineJS makes the web application development completes.
- nop_slide 4y agoIf you add in Tailwind you get the PHAT stack (python htmx alpine tailwind)
- deleted 4y ago[deleted]
- insane_dreamer 4y agowhat's wrong with jQuery?
- imacrayon 4y agoNothing, 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/ https://imacrayon.github.io/alpine-ajax/
- fantasizr 4y agoWe use alpine as well, very simple to add in for some simple reactive uis. Flask+Alpine seems to work well for us.