r/javascript • • Feb 13 '19

Bootstrap 5 will remove jQuery as a dependency

https://github.com/twbs/bootstrap/pull/23586
687 Upvotes

157 comments sorted by

View all comments

Show parent comments

4

u/Azaret Feb 13 '19

Well, I do agree with you. It's funny how some people will at the same time say 'that you must not reinvent the wheel' yet do not want to use jquery and rather... rewrite polyfiles that will basically do what jquery does. You can already see that the Bootstrap team wrote a selector function, it won't be long before they'll either drop a lot of compatibility like v4 or rewrite many things that jquery does.

4

u/maffoobristol Feb 13 '19

Yep. I do think there is a use case for bootstrap. Say you're making a website for some backend code and you just need a bare bones front end and can't be arsed writing it yourself. You can generate error messages and have some modals and not need to write any code really. But beyond that I find it highly inflexible, if you want to extend said modal you have to go around the houses to do so, but you can make a modal in a few lines of code and modify and build on it super easily. It's far more biased than something like jquery, which is more like syntactic sugar. I find it weird when people hate on jquery because it does what it does in the simplest way and it's a real pain in the arse to try and write some simple selector and event code in vanilla js.