Which will be ready for February 2022
And Bootstrap 4 will be declared eol so you get no more bugfixes until the bootstrap 5 release. I hope they wont do the same mistake again.
Bootstrap 5 will remove jQuery as a dependency
11–20 of 333 posts
Re: Bootstrap 5 will remove jQuery as a dependency
#12Re: Bootstrap 5 will remove jQuery as a dependency
#13What do they replace it with?
Re: Bootstrap 5 will remove jQuery as a dependency
#14This is great! This will make bootstrap more attractive and competitive as a framework. JQuery was one of the most important frameworks in Javascript history. It has enabled us to built real webapps. However since then differences between browsers shrunk significantly and we learned how to build maintainable and scalable apps in a more declarative fashion (hello React, Angular and friends)
I am still more fond of jQuery's ajax functionality than anything that followed, including the fetch API.
Good riddance.
Re: Bootstrap 5 will remove jQuery as a dependency
#15Good news! I hope it won't be replaced with a 2.0 MB bootstrap.min.js
Re: Bootstrap 5 will remove jQuery as a dependency
#16Which will be ready for February 2022
I know you're sarcastic but Bootstrap has been picking up steam recently. The jQuery removal has been in the work since 2017. If you want faster releases then feel free to submit PRs :)
Re: Bootstrap 5 will remove jQuery as a dependency
#17If yes, what version?
If not, why not? Which alternative do you use?
Re: Bootstrap 5 will remove jQuery as a dependency
#18> Bootstrap 5 will remove jQuery as a dependency ... by copying over/rebuilding big chunks of it. - $(element).closest(`.${ClassName.ALERT}`)[0] + SelectorEngine.closest(element, `.${ClassName.ALERT}`) - $.Event(Event.CLOSE) + EventHandler.trigger(element, Event.CLOSE) - $(element).one( ... ) + EventHandler.one( ... ) - $(this).data(DATA_KEY) + Data.getData(this, DATA_KEY) And so on and so forth. DOM APIs are just as…
Seems to be a sensible approach to me. It's like using native code rather than electron, even if you add more lines, I'm pretty sure the performance gains would be worth while.
Re: Bootstrap 5 will remove jQuery as a dependency
#19Earlier quoted context omitted.
I know you're sarcastic but Bootstrap has been picking up steam recently. The jQuery removal has been in the work since 2017. If you want faster releases then feel free to submit PRs :)
Really? I'd have guessed bootstrap will be phased out completely by CSS grid, which does essentially what bootstrap does...
Bootstrap is a _framework_, not just a layout system.
Also, BS uses Flexbox at the moment, I doubt they'll go to grid any time soon.
Re: Bootstrap 5 will remove jQuery as a dependency
#20Earlier quoted context omitted.
I know you're sarcastic but Bootstrap has been picking up steam recently. The jQuery removal has been in the work since 2017. If you want faster releases then feel free to submit PRs :)
Really? I'd have guessed bootstrap will be phased out completely by CSS grid, which does essentially what bootstrap does...