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

Martin Coutts
Martin Coutts
18,154 Points

Is it always better to use React?

I am just beginning to learn React and I can totally understand why it is so widely used and highly regarded. It is a great technology and I really like the modular aspect of user interfaces.

The thing I keep wondering is should you always use it? Say I was building a super simple static website which did not require anything fancy, just had to look good, would React be overkill or should I still use it. I guess the beauty of making it to begin in React would be scaling up at a later date might be easier but I was just curious what more experienced developers think on the subject.

Thanks

1 Answer

stjarnan
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
stjarnan
Front End Web Development Techdegree Graduate 56,488 Points

Hi Martin,

You might get different opinions on this, it comes down a lot to personal preference. Personally, if it was a rather basic static project, I would probably go without React. But it also depends on if I felt the project would stay small in the future too.

Just ask yourself: Would React help me? Would it be easier to go without a library?

I hope that helps,

Jonas

To add on to what Jonas said, CSS Tricks has a great article on this topic:

https://css-tricks.com/project-need-react/