• wildflower
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 years ago

    I’ve never seen the point of ‘jQuery replacements’ like Zepto: isn’t the point of jQuery to maintain compatibility with older browsers? As most ‘light jQuery alternatives’ drop the compatibility for better bundle sizes…

    …what’s the point of using it at all?

    I can see this isn’t just a jQuery API, which is nice :)

    • AgreeableLandscapeOP
      link
      fedilink
      arrow-up
      1
      ·
      4 years ago

      jQuery is really easy to develop with if you don’t want to use a full JavaScript framework like Angular or Vue, so legacy compatibility isn’t the only reason.

      Also, Bootstrap uses jQuery.

      • wildflower
        link
        fedilink
        arrow-up
        1
        ·
        4 years ago

        Really easy to develop at first, yes.

        Also, the new iteration of Bootstrap doesn’t use jQuery IIRC.

        • AgreeableLandscapeOP
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          4 years ago

          Really easy to develop at first, yes.

          For very simple projects, I still like using it.

          Also good to hear Bootstrap is dropping it as a dependency

            • AgreeableLandscapeOP
              link
              fedilink
              arrow-up
              1
              ·
              4 years ago

              I mean, nothing against jQuery, but having fewer dependencies is a good thing for web-based projects, where all that code needs to be transferred to the user.