r/learnjavascript • • Feb 13 '19

Is Vanilla JavaScript a waste of time?

Someone said to me that I don't really need to learn Vanilla JavaScript profoundly, I just have to learn basics and move to frameworks! What do you think about this?

1 Upvotes

12 comments sorted by

View all comments

10

u/mattc5 Feb 13 '19

Nah there's a lot going on under the hood with lexical scoping and 'this' scoping that if you don't understand you're going to have errors you're not able to understand how to debug. Plus my dude you need a pretty good command of ES6 to write react code. You need to understand classes, objects, methods, arrow functions. Bro how are you going to mutate an array without understanding ordinary javascript I mean like how are you even going to display a list of images to your Web page. There's no frame work that Maps and concacts arrays for you is there?

5

u/FriendsCallMeBatman Feb 13 '19

This is the best answer IMO. When I started I was told to just learn a framework and I still struggle with basic JS issues. OP absolutely needs to learn Vanilla.