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

Is the React Basics course out outdated?

Hey!

Considering that React is always updating and changing stuff, is there any reason to watch the React Basics? I mean, it feels like everything has changed. When I try to type some code in my own editor it doesn't work, but for Jim it works just fine! So.. If this course is outdated, where should I look for knowledge? Any tips?

Cheers, Martin! :-)

6 Answers

Nick van der Sangen
Nick van der Sangen
11,516 Points

Hi Martin,

I've completed the React Basics course last month and didn't have any problems. Have you included the necessary Babel compiler right?

Can you share a snippet of your code?

Kind regards, Nick

The only other thing I would suggest is learning more about ES2015/ES6, since that is what Facebook now encourages people to use with React.

They've also changed their docs and tutorial to use ES6.

Mike Lundahl
Mike Lundahl
13,510 Points

I'm having the same problem.. Struggling with even getting past the first few videos setting everything up. Think where it stops for me is setting up babel correctly? The babel-browser seems to be outdated? As well as there's no explanation for it?

In your case I'd recommend checking out the Setting up Webpack for React course for a better way to manage React apps. There's another intro workshop for Webpack also.

Mike Lundahl
Mike Lundahl
13,510 Points

Thanks Iain, I did go through that course. seems I got webpack up and running with no warnings or errors (even though I had to brows the internet for additional knowledge to wrap my head around it).. however I can't seem to get React to work.... I'll create another post with my issue on it.

I'd also highly recommend checking out the Building Applications with React and Redux course here on Treehouse as Redux is very popular these days, and Guil uses a lot of ES6/ES2015 code/syntax, both of which make things much more modern and relevant.

+1, should I follow along but with es6 syntax? Or should I follow along with es5 and then relearn it with es6?

/cc Guil Hernandez /cc @jim

Cant cc Jim :(

That depends on how you prefer to learn, since to follow along with the videos with ES6, you might need to stop and do some research or read the React docs, but you'd probably then associate the concepts with the ES6 syntax better.

If you did it in ES5 and then went back to refactor everything in ES6, it'd probably be a bit quicker, and you would learn more about refactoring.

Either way, it would be a good exercise. I did it following along, but then I had also done other courses elsewhere that only used ES6.

Iain Simmons , ok I’ll just follow along and apply the stuff, but the thing for me is that I don’t know es6 very well :P

No problem, check out the following course and workshops:

I'm sure they will gradually introduce more and more workshops on the topic as well.