Page 1 of 1

Why I'm removing jQuery from my project – and why it makes sense

Posted: Fri Jun 27, 2025 8:14 am
by Otto
Hello,
I'm currently working on a complex DBF viewer using Bootstrap 5 and decided to remove jQuery completely.

Here's why:

Modern browsers now support everything jQuery was originally needed for: fetch, classList, querySelector, addEventListener, etc.

Bootstrap 5 no longer depends on jQuery

Fewer dependencies = better maintainability, faster load times, and more control

jQuery has become technical debt in many projects – it's no longer a good fit for modern toolchains

I’m now replacing all uses of .on, .val, .tooltip, .ready, etc. with native alternatives. The effort? Moderate. The benefit? Significant.

Best,
Otto

Re: Why I'm removing jQuery from my project – and why it makes sense

Posted: Fri Jun 27, 2025 8:17 am
by Enrico Maria Giordano
And I add: jQuery is only a wrapper to JavaScript (essentially, sintactic sugar), so it has never been useful for me.