• hackris@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    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
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      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).