this post was submitted on 25 Sep 2023
328 points (94.1% liked)

Programmer Humor

32588 readers
817 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago (1 children)

When you say "and", do you mean together?

I love Vue, first time I've heard of AlpineJS. From my quick searching, they seem pretty similar. What advantages does one have over the other? Thanks :)

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

Ah, sorry, that was a bit confusing on my part. I use them entirely separate. Here are some real world examples:

Vue: new projects that will require multiple components, state management, etc.

AlpineJS: when I have a tiny project/demo that needs reactivity, or if I have an existing HTML setup that needs state management and reactivity bolted on after the fact (like an old site or something like that).