Re:Alpine.js
by insane_dreamer on Friday January 13, 2023 @12:32PM
(#34370947)
what's wrong with jQuery?
[ Parent
| on HN ]
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/