We don't need jQuery in Bootstrap 5.2, but if Bootstrap detects jQuery in the window object, it’ll add all of our components in jQuery’s plugin system.
This will allow us to keep doing things like:
$('[data-bs-toggle="tooltip"]').tooltip()
and
{{$('#myTab a').on('shown.bs.tab', () =>
{ // do something... })}}
And will allow us to keep running with our current core JS that taps into Bootstrap JS.
If we remove jQuery some core JavaScript relying on Bootstrap will need to be updated