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

General Discussion

Ephraim Smith
Ephraim Smith
11,930 Points

When to integrate React into Full Stack JavaScript Track (Working towards learning MERN stack)

Hey guys!

My objective is to develop a JavaScript-based skillset (MERN stack) to build web, desktop, and mobile apps.

Currently working through the Full Stack JavaScript track (just finished AJAX Basics course), and I noticed that there is a separate Track for React.

I am curious to see how you guys would suggest integrating the React Track into the FSJS Track. For example:

  1. Complete the FSJS Track, THEN complete the React Track
  2. Complete the React Track DURING the FSJS Track - say after completing the FSJS Course: Intro to ES2015

Thanks guys! Looking forward to everyone's opinion. Have a good weekend!

2 Answers

Blake Larson
Blake Larson
13,014 Points

You can play around with React without doing any backend logic, so I would say whenever you want. An idea for that is just to make a static front end layout and then hook it into a react component render method (it’s just where you put your HTML markup in react components), and then use a constructor to hold state so you can dynamically add info to your HTML. That will look something like. <h1 className=“title”>{this.title}<h1/> (JSX)

If you are making a project that is full stack I would setup the backend API with node mongo express like I’m guessing you are doing now first. Then you can add the client side React and redux when you know your end points because you are gonna make requests from react to your api so it’s nice to know what data is coming back.

Ephraim Smith
Ephraim Smith
11,930 Points

Blake,

Thanks for the awesome, and fast response! I've been building mini apps after every course so I could just start integrating React into those from here on out. Are you a JS developer in the wild?

Thanks again!

Blake Larson
Blake Larson
13,014 Points

Yup I’m a front end dev and have been using React for my full stack project.