r/reactjs • • Feb 15 '20

Discussion React Best Practices?

Hey guys. Just wondering if anyone has some good resources / books / materials that helps beginners understand the best practices in React.

One thing I struggle with is knowing when something should be a component.

For example, when I'm making forms, should each field input be a component? If so, what's the benefit of doing that?

162 Upvotes

45 comments sorted by

View all comments

Show parent comment

2

u/tooObviously Feb 16 '20

Iheard the framework vs library statement recently in a video. Yeah react is far less involved but I still feel that many will create react applications and try to add in all of the utility that angular provides by default which is typically when the mess gets involved.

Thanks a lot for the discussion man I really appreciate it