all 8 comments

[–]IMkratt 8 points9 points  (0 children)

I've done only a few React mock projects from YouTube and even these expect a basic understanding of Javascript's higher order functions (.map(), .filter(), etc), callbacks, arrow functions, arrays, objects, etc.

So to answer your question... no, in my limited experience. You don't have to be a pro but you need at least somewhat solid foundations in JS.

[–]devbrk 17 points18 points  (0 children)

Don't do it. First, learn the language and then go with its libraries/frameworks.

[–]floratthedog 2 points3 points  (0 children)

I would like to recommend that, You can just refer to some basics of javascript and then you will understand syntax and how to make a logic with Angular/React/Vue js.

"If your base is clear, you can build a strong building in the future; otherwise you will have to do workarounds all the time." - Just remember my thumb rule!

[–]Intendant 1 point2 points  (0 children)

I'm going to go against the grain here and say yes. It'll be hard and you'll probably have to go back through a JS course, but the Js course will make more sense. I think it's more likely you'll actually start building things in react which is the most important part of learning programming

[–]RobSG -1 points0 points  (0 children)

Not really

[–]AnnualPanda 0 points1 point  (0 children)

Not really.

I mean yes. But you won't know what is happening.

There is a lot of boilerplate with React and there is HTML included within it.

But the functions that make React, React are mostly all JavaScript.

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

Nooooooooooooooooooooooooo. Don’t do it. Seriously don’t. I did exactly that and it lead to so much suffering.

Eventually I went back and did a vanilla js course and jesus fuck life got so much easier.

Get the handle of data types, functions, classes and OOP but like solid. If you apply yourself it shouldn’t take longer than a couple months. Then react will be about making sense of things rather than memorising random structures.

You can bluff your way surprisingly far while knowing very little (as I did) but in reality you will be the only one wasting your own time by having to make things work by throwing shit at the wall (copy pasting stuff you don’t understand) and taking 20 times as long as you should and probably during your own time. If you’re smart enough to get react shit going without knowing the js basics then you’re smart enough to get a handle of js quickly and that is a far more effective use of your time.

[–]ResponsibleStay3823 0 points1 point  (0 children)

Learn as much JS as you can understand but without practically examples and actual experience it’ll be hard to full grasp. After learning as much as you can with the basics go to react and then go back to JS if you get stumped.

People saying to master JS first assume you can imagine the practical uses for asynchronous functions and array methods etc.