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

Programmer Humor

32427 readers
632 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] 11 points 1 year ago (2 children)

I'm good with my Vue, thanks. I hate React though. I can see htmx simplifying some things and being adopted by front-end frameworks. The same way improvements in HTML and CSS have been adopted.

[–] [email protected] 4 points 1 year ago (1 children)

Fellow Vue enjoyer! I love Vue, it's so friendly. Maintaining a complex React app feels like getting dragged behind a truck down a one way road.

(Did you like my two way data binding joke there?)

[–] [email protected] 2 points 1 year ago

Hello sane friend! You used your joke to great effect!

Did you like my useEffect joke haha

[–] [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).