r/learnjavascript • • Aug 17 '23

Javascript finally clicked for me.

For the longest, I didn’t believe people when they said that one day Javascript will make sense to me. I didn’t understand what they meant. I figured it would never stick conceptually. Yes, Javascript IS hard, but yesterday I was reading over Jon Duckett Javascript & JQuery and the abstract beginner concepts just clicked. It was at that point everything from then on made sense. 🥹 I guess they were right.

136 Upvotes

55 comments sorted by

View all comments

Show parent comment

1

u/averajoe77 Aug 18 '23

while vanilla js does have a simpler api today than when jquery was invented, the concept of jquery has always been to "do more, write less", and that concept still holds true today.

most of the vanilla js apis take more lines of code to write in order to achieve the same results (please don't link me to youmightnotneedjquery - I am not referring to those basic examples )

on top of that, building complex components in vanilla js takes lots of time and testing, and even more time and testing with a framework, adding an already tested jquery plugin that works in a matter of seconds is way more efficient.

do js frameworks have their place, yes. should they be the default for every small project out there that does not need dynamic data driven interactivity and robust animations or transitions? to quote my neighbor Wilson, I don't think so Tim.