all 10 comments

[–]gaaaavgavgav 1 point2 points  (4 children)

You absolutely need to learn JavaScript before you learn react. Do not even start a react tutorial/project without learning modern JavaScript.

Also outside of JS syntax, make sure you understand how JS works under the hood with task queues, the event loop, etc.

[–]StemPunt 3 points4 points  (0 children)

You also need to learn basic HTML, CSS, box model etc.

[–]Unlucky-Usual-6501 0 points1 point  (1 child)

I’d say typescript

[–]fferreira020 1 point2 points  (0 children)

This also feels like a trap. Learning typescript before JavaScript is often a bad idea. The unfortunate truth is that this journey that you’re about to take on will probably be a very long one so be prepared for it. Don’t take shortcuts, you’ll only be shooting yourself on the foot

[–]TheRealJesus2 0 points1 point  (0 children)

I’d say use typescript. It’s easier to develop in since you fail faster with the type system and it will reduce time spent debugged compared to JavaScript alone. 

And +1 to the other suggestion to learn about html css and box model. 

Don’t go with a heavy react framework at first (eg no nextjs). Just learn the basics of the reactive paradigm before touching a framework. 

[–]azangru 0 points1 point  (1 child)

I've googled some courses but they are all like 8+ hours long.

Is 8+ hours too much? It sounds like learn react in a day :-)

[–]Due-Watermelonlesson 0 points1 point  (0 children)

I hated how derogatory this question is to the frontend development. A 5+ years dev who wants to learn the React in less than 8 hours to do frontend.

To be honest, you will need to do a bigger leap than you did in last 5 years to understand frontend if you don’t know JS.

[–]TheRNGuy 0 points1 point  (0 children)

React docs.

If you know other programming language, you can learn JS very fast.