Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Should i learn Node js or React first?

Which way is consider to be the best for a beginner? iā€™m in a point where i can learn of one those

4 Answers

I think to go for Introduction for JavaScript and its Basics as well as JavaScript Arrays, Loops and Objects is a wiser move., then you can now explore to your Node js and React.

i already know all of that

Brendan Whiting as i mentioned Should u first focus on React and then learn node js or the opposite

Brendan Whiting
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 Points

You need to be familiar with npm in order to work in React. So if you haven't already, I would suggest the npm basics course. Other than that, it's up to you. You don't need to know server side development with node in order to work in React. But your React app might want to talk to a backend at some point, and you could build that backend with Node.

You can start with React js then node js. Sometimes it can depends with you because React is a User Interface (UI) library, and Node js is for the server environment.

Brendan Whiting Should i first learn ajax and async javascript and then continue to learn node js and react?

Brendan Whiting
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 Points

I can't tell you whether you should learn React or Node first. They are different paths and I can't make that decision for you. It's probably a good idea to learn the basics of both. You should learn async javascript regardless. You only need to know ajax if you're doing client side (React) code, but it's also worth learning the newer fetch API not just the older AJAX api.