Re:Bootstrap 5 will remove jQuery as a dependency
by whoisjuan on Tuesday February 12, 2019 @06:12PM
(#19148667)
jQuery may be outdated from a JS point of view, but nothing beats its syntax. Nothing is as simple and straightforward.
[ Parent
| on HN ]
Re:Bootstrap 5 will remove jQuery as a dependency
by nkozyra on Tuesday February 12, 2019 @07:48PM
(#19149314)
Most of its syntax is now part of JS/DOM natively now. I think that's because of how intuitive it was.
It's not cool anymore but there's little compelling reason to tear it out of existing projects other than a refactor. It still works.
Re:Bootstrap 5 will remove jQuery as a dependency
by mercer on Wednesday February 13, 2019 @05:38PM
(#19157830)
I've been jQuery-less for quite a while now, but honestly I still miss it sometimes. [...document.querySelectorAll()], event binding, and quite a lot of other jQuery stuff is still a bit more verbose, even in the hippest browser environments.
Re:Bootstrap 5 will remove jQuery as a dependency
by nullandvoid on Tuesday February 12, 2019 @07:01PM
(#19149009)
Indeed it's polymorphic overloads ( over 10 on the $() method! ) were commendated in The book 'modular JavaScript' i'm reading right now. Whilst it would be questionable offering quite that many options nowadays on a library method it certainly helped devs get productive quickly and helped it become a such a success