I work in a project where we don't use JQuery.
Is twitter bootstrap dependant on it ?
Bootstrap 5 is designed to be used without jQuery, but it's still possible to use our components with jQuery. If Bootstrap detects jQuery in the window object it'll add all of our components in jQuery's plugin system; this means you'll be able to do $('[data-bs-toggle="tooltip"]').
It is important to state that all Bootstrap plugins can be used purely through the markup API, without writing a single line of JavaScript. This is Bootstrap's first-class API and should be your first consideration when using plugins.
Bootstrap uses jQuery for JavaScript plugins (like modals, tooltips, etc). However, if you just use the CSS part of Bootstrap, you don't need jQuery.
It solely depends on what kind of area you would be working in. If you are creating new websites then certainly you will not require jquery. However, if you are working in an area where they want you to modify old websites that involves jquery then definitely jquery is must.
Twitter bootstrap itself isn't jQuery dependant.
If you use just the CSS part of it, you won't need jQuery.
If you use the Javascript plugins you need jQuery, since they are jQuery plugins.
v3: http://getbootstrap.com/javascript/
v4: https://getbootstrap.com/docs/4.0/getting-started/javascript/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With