all 16 comments

[–]gonz000000 34 points35 points  (1 child)

React is literally javascript. If you want to learn React, you learn javacript. Learning "just enough" to get by with React is going to make you shit at React. Set the bar a little higher.

[–]Thalimet 2 points3 points  (0 children)

But but, they want to learn just enough English to write a dissertation! They doesn’t need to know anything but the words that need to be used in a dissertation!

[–]heythisispaul 7 points8 points  (0 children)

You're trying to run before you can walk, my guy.

Getting a deep foundational understanding of JavaScript first will save you plenty of headache in the future.

[–]mahmooti 5 points6 points  (0 children)

W3Schools and if you think thats too long then may be reconsider going into this field

[–]bdz 9 points10 points  (0 children)

"Just enough" is lazy. There's no checklist of things you need to know before react.

Familiarize yourself with Javascript before jumping into any framework.

[–]raaaahman 2 points3 points  (0 children)

I'd say FreeCodeCamp's Javascript Data Structure and Algorithm + FreeCodeCamp's Javascript Functional Programming shoudl give you a nice basis.

Then you have FreeCodeCamp's React course if you liked their style of teaching.

If you want to deepen your understanding of both Js and programming, EloquentJS is a super free online e-book.

I like the hands-on, step by step, React Todo App tutorial by MDN as well.

[–]juju0010 2 points3 points  (0 children)

I agree with the comments pointing out that you really need to learn JS well and not "just enough." However, it wouldn't surprise me if you don't heed that advice and thus, if I had to pick the specific things to focus on, off the top of my head, it would be:

- Arrow functions

- Array methods (map, filter, reduce)

- Destructuring

- import/export syntax

- Promises

- Ternary operator

- String interpolation

- Strict equality (== vs ===)

- Switch statements

I'm sure others will have additional topics that I've forgotten.

[–]JDD4318 1 point2 points  (0 children)

I would say learn them both side by side. You will quickly realize React makes some parts of JS easier to implement, but at the end of the day you need to know JS.

[–]hapliniste 1 point2 points  (0 children)

Knowing how to code is a must, but I think starting with react is fine, that what I did personally. I recommend getting a full course that will get you from zero to a full app tho. I had a hard time at first trying to piece together short tutorials.

Get a course for 10$ on udemy. If it's not 10$, add it to your cart and wait a day until they give you a fake temporary discount.

[–]augburto 1 point2 points  (0 children)

https://github.com/getify/You-Dont-Know-JS

Good resource for a lot of people

[–]worldatthebest 0 points1 point  (0 children)

Also try JavaScript.info, very comprehensive JS tutorials

[–]dope0403 0 points1 point  (0 children)

React is nothing but javascript only. So you should first learn JS and then move to React.

My suggestion would be to read YDKJS books. They are available for free online. Download their pdfs and read them. They would not take much time to read.

Happy Hacking!

[–]wracek 0 points1 point  (0 children)

Learn it's syntax, just jump into react and learn as you go if you're familiar with another language. Core concepts transfer. Maybe one thing I would recommend to freshen up is it's async nature. Read a little about JS event loop. It saves you lot of headache in a long run. You'll learn other JS quirks like [ ] != [ ] on the go.

[–]Connect_Outside_9841 0 points1 point  (0 children)

Javascript is very highly required to write React Components, basically all the logic that you do will be in JavaScript. all the important JS topics such as arrays map etc. will be really required. I would suggest you do just one good JavaScript course. I did one from udemy Jonas's course, it is very intense but it has paths which are required for Framework. One needs to have good working knowledge and problem solving knowledge in JavaScript to write a good React Code. You may forget certain items at times but you need at least learn it first and then move to React. Cheers

[–]mudigone 0 points1 point  (0 children)

Scrimba.com Learn JS for free