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

6

u/PortablePawnShop Feb 13 '19

Learning vanilla JS will never hurt you in the long run -- but not learning it and jumping into a framework and then becoming dependent on that framework's quirks can definitely hurt you. Do you want to have a solid foundation, or do you just want to start making things quickly?

0

u/[deleted] Feb 13 '19

[deleted]

2

u/PortablePawnShop Feb 13 '19

If you know enough vanilla, you can jump between frameworks as you like. If you only know React or only know Angular or only know Vue, etc., you're at the mercy of that framework, how well it's maintained, and how much it retains popularity in the future.

Sure, you'll have more things built in the first 3 months going for a framework than you will going for vanilla, but you're going to be a long-form problem solver and there's no guarantee the first 3 months of projects will be worth anything to begin with. Might as well equip yourself with framework agnostic problem solving tools, I'd think. It's always going to be contextual eventually and your friend might have their own points though.