55

Bootstrap 5 will remove jQuery as a dependency

 5 years ago
source link: https://www.tuicool.com/articles/hit/JBz6bum
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Plugins:

Tests:

  • Remove the use of Data in our unit tests ( #26685 )
  • Remove the use of EventHandler in our unit tests ( #26685 )
  • Fix coverage by testing our new internal objects

Build:

  • Remove jQuery in our Rollup config

Docs:

  • Update plugin's page
    • Alert ( #27062 )
    • Button ( #27173 )
    • Carousel ( #27173 )
    • Collapse ( #27173 )
    • Dropdown
    • Modal
    • Popover
    • ScrollSpy
    • Tab
    • Tooltip
  • Add a section explaining that it's possible to use this version with and without jQuery
  • Stop using jQuery
  • Update /docs/4.2/getting-started/browsers-devices/ and any IE references
  • Search docs for jquery (not case sensitive)

Browser compatibility:

  • Remove IE (but not Edge)

If you want to help us do not hesitate to create a PR which targets this branch v4-without-jquery .

Various

Demo:

https://deploy-preview-23586--twbs-bootstrap.netlify.com/


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK