I'm building an application with Angular5 and want to include bootstrap.
I included Bootstrap4 which (the JS part of bootstrap) has dependencies on JQuery
and Popper.js
.
I also read about using CSS grid
for more flexibility than bootstrap as an alternative to bootstrap.
Does using bootstrap significantly decrease performance (loading speed) because it has dependencies on JQuery
and Popper.js
?
Like the other members mentioned, you can use bootstrap 4 without scripts.
Actually that for me seems the way to go, as bootstrap has specific angular packets that you can use (ng-bootstrap) to get the desired bootstrap features, like accordion, modals, datepicker etc. Check them out: https://ng-bootstrap.github.io/#/home
So jquery scripts, specially for angular, are obsolete. Basic rule for any script should be: if you don't use it, don't include/load it. Much faster that way!