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

This video needs to be updated. State and class components are outdated.

State is mostly invisible in React since 2018... should be using hooks instead. And class components have been supplanted by hooks and functional components, so this is really not a helpful tutorial. It's fine to still learn it but there should be an updated video to go over the new ways to do things.

1 Answer

Robert Manolis
STAFF
Robert Manolis
Treehouse Guest Teacher

Hi Brenton, thanks for the feedback. Could you provide a link to or a title for the course that you're referring to?

Also, it's worth keeping in mind that while React has moved away from classes and towards functions, it's still important to be familiar with both, as there remains a lot of React components out there in the wild that were created with classes.

And check out the React section of the Treehouse library for more React content that introduces hooks and is more focused on functions. :thumbsup:

Thanks, I didn't realize that comments aren't localized to the video. I believe it was the React basics workshop. As I have progressed I see that there are other workshops that talk about some of the newer features so that is helpful.