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

Pranav Mathur
Pranav Mathur
1,061 Points

Do I need to know Object oriented programming to learn React JS?

I know basic functional Javascript and Node. I can straightaway see ES6 elements and classes used in React, do I need to know OOP for this?

2 Answers

Robert Schaap
Robert Schaap
19,836 Points

Honestly if you're going to be working in any framework that uses JavaScript or in JS directly, the more you know about OOP, the better. Make sure you know the ins and outs of JS, particularly array/object methods if you're going to be using React, then strengthen your knowledge of OOP and functional programming. It helps a lot.

Antonio De Rose
Antonio De Rose
20,884 Points

the course react basics, says, for better results, do OOP javascript, so obviously, it would be better.