Is jQuery required for Bootstrap 5?

Bootstrap 4 needed jQuery for its plugins. Bootstrap 5 does not need it. The plugins are plain JavaScript classes (bootstrap.Modal, bootstrap.Tooltip and others). This makes the page lighter. If your old code uses jQuery with Bootstrap 4, it can stay, but it is not a part of Bootstrap anymore. See Migrating from Bootstrap 4 to 5.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.