27 votes

Bootstrap 5 will remove jQuery as a dependency

6 comments

  1. [6]
    besa
    Link
    Finally. I love Bootstrap but they really had to get away from jQuery already.

    Finally. I love Bootstrap but they really had to get away from jQuery already.

    5 votes
    1. [5]
      ThatFanficGuy
      Link Parent
      What makes you say that? Why was jQuery a burden for Bootstrap?

      What makes you say that? Why was jQuery a burden for Bootstrap?

      2 votes
      1. Akir
        Link Parent
        I can't speak for Bootstrap specifically, but jQuery has been a problem with other projects I have dealt with because it tends to become very thoroughly entangled with a web app's frontend. It...

        I can't speak for Bootstrap specifically, but jQuery has been a problem with other projects I have dealt with because it tends to become very thoroughly entangled with a web app's frontend. It also has a history of security vulnerabilities.

        It has a tendency to snowball into even greater panic levels when you are running a site that needs to be audited for PCI compliance. I have learned that basically anything that brushes with anything financial in nature only gets the bare minimum level of maintenance and support unless you are paying absurdly high consultancy fees.

        4 votes
      2. [3]
        besa
        Link Parent
        Just not a fan of jQuery in general. It's bloated and pretty much deprecated at this point. And I think reducing dependencies is always a good thing for frameworks.

        Just not a fan of jQuery in general. It's bloated and pretty much deprecated at this point. And I think reducing dependencies is always a good thing for frameworks.

        2 votes
        1. Octofox
          Link Parent
          We were talking at work about how jQuery has gone from one of the most important things in web development to being totally useless in such a short time. jQuery's whole thing was making js...

          We were talking at work about how jQuery has gone from one of the most important things in web development to being totally useless in such a short time.

          jQuery's whole thing was making js actually useful and cross platform. I guess anything that exists to make something else not suck will eventually become obsolete when that original thing stops being terrible.

          8 votes
        2. ThatFanficGuy
          Link Parent
          Mostly agreed. jQuery is a product of the time when things weren't as developed as they are now. GitHub's dropping jQuery opens one's eyes at the things we're currently capable of doing with...

          Mostly agreed. jQuery is a product of the time when things weren't as developed as they are now. GitHub's dropping jQuery opens one's eyes at the things we're currently capable of doing with vanilla JS alone.

          I do appreciate the ease of use that jQuery provides. There are currently a handful of libraries that provide the same thing sans bloat. Umbrella.js is one: less than 3kB gzipped.

          7 votes