News for hackers. Stuff that matters.
Re:Bootstrap 5 will remove jQuery as a dependency by dylan604 on Tuesday February 12, 2019 @10:36PM (#19150156)
> Look at how simple things are in the left column, and how much more code is needed in the right column.

This is misleading. Sure, that immediate code is cleaner in the left column. However, to do that, you have to have the entire JQuery library loaded as well. Sure, it's hidden, but the library looks like the code on the right column.

I'm not knocking JQuery, as I use it a lot.

Re:Bootstrap 5 will remove jQuery as a dependency by interlocutor on Tuesday February 12, 2019 @10:37PM (#19150162)
>>However, to do that, you have to have the entire JQuery library loaded as well.

But you didn't have to write that code or debug it.

Re:Bootstrap 5 will remove jQuery as a dependency by Nimelrian on Wednesday February 13, 2019 @03:11AM (#19151346)
Nowadays you'd use fetch anyway which would reduce that code to not much more than the jQuery samples.

That is, if you don't need to support IE (And I feel like we're finally in the phase where it slowly, but steadily dies off). Otherwise you can ponyfill it.