Bootstrap 5 will remove jQuery as a dependency
1–10 of 333 posts
Re: Bootstrap 5 will remove jQuery as a dependency
#2Re: Bootstrap 5 will remove jQuery as a dependency
#3Re: Bootstrap 5 will remove jQuery as a dependency
#4Re: Bootstrap 5 will remove jQuery as a dependency
#5Which will be ready for February 2022
I hope they wont do the same mistake again.
Re: Bootstrap 5 will remove jQuery as a dependency
#6... 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 pain in all of parts of a dev's body as they were 10, 15, and 25 years ago. Even if you "replace" jQuery, you end up just reimplementing easily a half of it just because it's so brilliant in it's ease of use and convenience.
Re: Bootstrap 5 will remove jQuery as a dependency
#7Re: Bootstrap 5 will remove jQuery as a dependency
#8JQuery 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)
Re: Bootstrap 5 will remove jQuery as a dependency
#9Which will be ready for February 2022
If you want faster releases then feel free to submit PRs :)
Re: Bootstrap 5 will remove jQuery as a dependency
#10This 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)