JavaScript in Plain English

New JavaScript and Web Development content every day. Follow to join our 3.5M+ monthly readers.

Follow publication

Member-only story

Why I decided to Break up With jQuery

Moon
JavaScript in Plain English
6 min readNov 1, 2019

--

Many of you may have used jQuery, or have heard of it at least once. But for me, since I started to study web programming from the middle of 2010, my relationship with jQuery had been quite fresh and new. But there were a few reasons that made me want to stop being in that relationship with it. :(

Disclaimer
This post is not going to talk about the reasons that you should stop using jQuery. Maybe some of you who are reading this post are still using jQuery in your team project. What this post will talk about will also be for other libraries. This post will give you personal opinions.

A very Short Introduction of How I met jQuery

I was in the computer science major at my university in which the majority of curriculums of the classes aimed at C language. Pointers, linked lists, unions, and whatnot… There was so much knowledge in C that bullied me. So I was sick of programming for a while, maybe more than two years.

One day while I was surfing the web and found JavaScript. I didn’t know what JavaScript was. There was jQuery on that page that I was looking at, as well. And people said jQuery is a lot easier. Not only could I see the result from manipulating DOMs on the browser, but it was also dead simple to use. Then, there was a spark between jQuery and me. :)

But I still didn’t Know What functions jQuery has

The number of methods I used was less than 10. animate, bind, fadeIn, etc. But jQuery’s code lines are about 10,000 (with v.3.4.1). Maybe you have used more functions than I used, but I’m pretty sure you used less than 30 functions even though you were quite familiar with jQuery. Click here to see the common jQuery functions list.

Many developers don’t want to use jQuery in a modern JavaScript based project. But why do they dislike it so much? There are a few reasons for this.

Reason 1. Even Though jQuery Is A Handy Library, It’s Too Heavy For What I Really Needed.

jQuery helps developers use functions for manipulating the DOMs. But it has so many wrapper functions inside, even to grab the element. Let’s take a look at a short…

--

--

Published in JavaScript in Plain English

New JavaScript and Web Development content every day. Follow to join our 3.5M+ monthly readers.

Written by Moon

Frontend React w/ Typescript developer based in S.Korea. Interested in UX/Testing/FE. mgyang95@gmail.com

No responses yet

Write a response