3 ms·
Using vanilla JS instead of jQuery doesn't require refactoring the site's layout and changing every page template. And even then, a decision like that wouldn't
by rchaud 7y ago
Using vanilla JS instead of jQuery doesn't require refactoring the site's layout and changing every page template. And even then, a decision like that wouldn't be made unless there were significant QoL improvements in terms of site speed or maintainability.
That is why BS5 can afford to drop jQuery as a dependency. Developers working on highly performant apps where ops/second matters would already be using vanilla JS, and that's what BS5 is trying to support with this; jQuery doesn't play well with React/Vue after all.
But devs that are working on CMS-style websites, which make up the majority of actual websites on the internet, can continue to use jQuery if they want to.