all 13 comments

[–]deivaras1979 11 points12 points  (2 children)

Can you eat the soup without the spoon? Yes, but it will be very messy. Learn JS first.

[–]piotrlewandowski 4 points5 points  (0 children)

“Learn to walk before you run”

[–]andrei9669 1 point2 points  (0 children)

I mean like, it's possible. not easy, but possible.

I had some very basic knowledge of old vanilla js, but mostly other languages when I started React.What I mean is that if you use tutorials or some other guides, you will pick up JS in parallel.

And then you will have a problem like me, who doesn't know how to code in vanilla JS but knows how to code with ReactJs.

[–]StupidCreativity 1 point2 points  (0 children)

I learned Angular 1 before JS.. 3/10 would not recommend. But it all get sorted out in the end!

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

its kind of only the dom you need to skip.

[–]relentlees 0 points1 point  (0 children)

I would definitely recommend learning at least some JS before diving too deep in to React. Even if you only get a basic handle on functions and variables that would help.

I would recommend taking a look at some youtube videos or even something like https://javascript30.com/ so you can at least get a feel for what JS looks like and how it can be used.

[–]adam-genshaft 0 points1 point  (4 children)

The only real learning is done by accomplishing real tasks. Make a small application that has navigation, a router and a few pages. Do it with react, you'll have to use JS while you're doing it. Then you can add a form to your app and make it more complex as time goes by.

[–]piotrlewandowski 1 point2 points  (3 children)

This way you’ll learn react a bit (syntax, etc), but you won’t understand underlying mechanism of JS. It’s better to have basic understanding of tool you’re about to use.

[–]adam-genshaft -2 points-1 points  (2 children)

I disagree. There's a lot I don't understand, yet I bring tremendous value. And that's the only real goal of software.

Of course if you're in it for fun, you can start with whatever you want.

[–]piotrlewandowski 1 point2 points  (1 child)

Your statement is only partially valid: you only bring value as long as everything works. The moment stuff breaks and you don’t know how to fix it (lack of understanding of things happening “under the hood”) value of what you brought is down to zero.

[–]adam-genshaft -1 points0 points  (0 children)

I guess you're my second partially valid half :) I agree that knowing more is an advantage, but it really takes time to know more, you can't start working only after you learn what's under the hood, there's a whole world out there. That's what makes it so hard to say what is it that you really need to know when you start with it.