DEV Community

Discussion on: Why not to use JQuery in a JavaScript Framework.

Collapse
 
dormenao profile image
Dorme não!

I was wondering after reading your post, why not use it? Since I still use frameworks like Bootstrap that make compulsory use of JQuery, so I won't waste my code with another library, and my development has always been agile with Bootstrap, so it won't be in 2019 that I will pause, perhaps outright, with jQuery. Ty dev.

Collapse
 
darkknight profile image
Joshua Aclan

Yeah... Some frameworks still use jquery as part of their library.

Collapse
 
danielrdrigues profile image
Daniel Rodrigues
  1. Because it'll just make your app heavy. R: Majority of the apps doesn't need this performance gain that not using jquery will give.
  2. Everything JQuery can do, VanillaJS/JS/TypeScript can do better and faster. R: Yes, but JQuery has community and thousands other libs that require it, just like react.
  3. It results to a terribly large amount of JavaScript code written. R: Cause it's easy, anyone can write it, it'll depend of the dev experience.

Jquery is simple, and it makes easy to learn and make complex things, frameworks like React and Angular don't think as much as dev experience as Svelte, and that's why people tend to avoid learning React/Angular and try to find something else.

Backend >>>>>>>>>>>>>>>
Frontend is a pain in the ass to develop.