In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces whether bootstrap has been eliminated, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Bootstrap has not been eliminated, and the Bootstrap team has released version 4.3.1 and will remove jQuery as a dependency in Bootstrap5's development plan, which will lead to more people using bootstrap.
The latest version of Bootstrap 4.3.1 has been released, and as part of the Bootstrap 4.3 release, the team has also announced development plans for the next major version of Bootstrap 5.
The development team said that after the release of v4.3, there will be some key changes, perhaps major changes, in the development of Bootstrap 5, which will be considered the basis of Bootstrap 5. The development team focuses on the following areas:
Abandoning jQuery:Bootstrap 5 removes jQuery as a dependency. The development team has been working on this for a long time, and PR is in progress and is nearing completion (https://github.com/twbs/bootstrap/pull/23586)
Improved development branch: the v3-dev branch will become the master branch; v4-dev will remain intact, but a new master branch will be cut out from that branch to develop the v5 version
Migration from Jekyll to Hugo: there is already a PR in progress and is nearing completion
(https://github.com/twbs/bootstrap/pull/28014)
After removing jQuery, the biggest dependency, the development team indicated that it would replace jQuery with native pure JavaScript in the future. This is a bit like the move to remove jQuery when GitHub revamped and restructured the page last year.
At that time, the front-end team of GitHub took advantage of the revision to remove the jQuery when refactoring the page, and instead of using other frameworks to replace jQuery, they used native JavaScript:
Use querySelectorAll to query DOM nodes
Use fetch instead of ajax (use XHR on unsupported browsers)
Use proxy events for event handling
Wrote polyfill for some DOM standards that have not yet been implemented
Greater use of custom elements (CustomElement)
As you can see, it has been a year and a half since the PR of jQuery was removed in Bootstrap 5. It currently contains 74 commits, is in the state of Open, and has yet to be resolved.
Thank you for reading this article carefully. I hope the article "whether bootstrap has been eliminated" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.