Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,882 Points

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