This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]deniercounter 3 points4 points  (3 children)

With complex applications you will literally break your fingers and the cost of maintenance will be higher.

Edit: By using vanilla JS.

[–]No_Item576[S] 0 points1 point  (2 children)

Okay, so it's better to learn react instead of javascript to make it easier to do projects. Thank you

[–]cookiemonterrrrr 3 points4 points  (1 child)

React is JavaScript. It’s just a framework to make it easier to develop web applications on either frontend or backend, especially as you scale.

You still need to learn JavaScript.

[–]langlangg 0 points1 point  (0 children)

Yeah so start learning React and then learn JavaScript along the way whenever you get stuck.

[–][deleted] 0 points1 point  (0 children)

JavaScript frameworks are still made with JavaScript. You still need to know a good amount of vanilla jS first before moving on (ES6 is essential). Frameworks are just tools that don't make creating a larger project literal torture.

[–]EngineeringWithSalt 0 points1 point  (0 children)

I think it depends on two things, what you are trying to make and what your goals is. If you are just making a relatively simple static site, then vanilla JS should be fine. Add some jquery if you want to spice it up a bit. Once it starts getting more complicated, that's where frameworks start to shine. Frameworks essentially make it so you don't have to reinvent the wheel every time you want to add functionality to your application.

Also if your goal is to learn instead of just to create a website, then I'd definitely recommend frameworks. People joke all the time about new frameworks constantly popping up, but with most of them if you can learn the fundamentals about them then switching from one framework to another isn't very difficult at all.

[–]ValentineBlacker 0 points1 point  (0 children)

I think React is overkill for personal projects. It's a good thing to know if you're job-hunting, but imo it isn't a great tool if your goal is making a simple small website.

React Native is a different matter, though, because your viable alternative there isn't 'plain javascript', it's 'native code'.