News for hackers. Stuff that matters.
Re:Bootstrap 5 alpha by jka on Tuesday June 16, 2020 @06:13PM (#23544933)
Although jQuery does seem less popular as a choice for new projects nowadays, I'd like to chime in to agree here (not to knock Bootstrap; it's good that they're staying current with their developer ecosystem).

Given appropriate element names and classes, jQuery and CSS selectors can provide a straightforward and readable way to express application behaviours, and it's a well-proven and stable project at this point.

Re:Bootstrap 5 alpha by CryoLogic on Tuesday June 16, 2020 @06:30PM (#23545091)
There is very little functionality JQuery offers that the modern browser DOM API doesn't provide with more robust performance.
Re:Bootstrap 5 alpha by JeremyNT on Tuesday June 16, 2020 @07:19PM (#23545538)
Yeah, this is what some commenters are missing. The real alternative to jQuery isn't some fancy new framework, it's just... plain JavaScript.

Things have really gotten much better in the vanilla world. Although some things remain more verbose or cumbersome than jQuery alternatives, you really don't need a whole layer of abstraction to handle the simple tasks jQuery was designed for any more.

Unless, of course, you care about IE...

Re:Bootstrap 5 alpha by andybak on Tuesday June 16, 2020 @06:55PM (#23545329)
jQuery somehow gets abuse for being more bloated and slower than vanilla js despite the fact that almost nobody is ditching jQuery for vanilla js and instead running to vastly slower and more bloated SPA frameworks.
Re:Bootstrap 5 alpha by corobo on Tuesday June 16, 2020 @08:40PM (#23546269)
Did this comment onwards miss

"I did my last small project with vanilla js and the ugliness of the native APIs reminded my how lovely jQuery is" or am I seeing wonky here

Re:Bootstrap 5 alpha by jfkebwjsbx on Tuesday June 16, 2020 @06:37PM (#23545157)
Yes, but the native APIs are a PITA.
Re:Bootstrap 5 alpha by rorykoehler on Wednesday June 17, 2020 @03:22AM (#23548752)
At they? I don't write much js but always found the native apis to be the quickest way to implement functionality when I need to
Re:Bootstrap 5 alpha by The_Colonel on Wednesday June 17, 2020 @03:40AM (#23548861)
Yes, nearly every native API is uglier/longer/more inconsistent than jQuery equivalent.
Re:Bootstrap 5 alpha by chrisweekly on Tuesday June 16, 2020 @07:02PM (#23545408)
not like they used to be, youngster*

* veteran of the original browser wars

Re:Bootstrap 5 alpha by Widdershin on Tuesday June 16, 2020 @08:12PM (#23546020)
So is jQuery imo, especially the nonsensical argument order for iteration.