this post was submitted on 25 Sep 2023
335 points (94.2% liked)

Programmer Humor

32410 readers
205 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
[–] orca@orcas.enjoying.yachts 2 points 1 year ago (1 children)
[–] hackris@lemmy.ml 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 :)

[–] orca@orcas.enjoying.yachts 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).