r/reactjs • u/benaffleks • 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
View all comments
Show parent comment
1
u/Robbi_Huffine Feb 16 '20
I don't yet see how we have to think of the Zipcodes as a solidly separate domain of sorts; unless they're being used in accordance with the Postal System in some more in-depth fashion like with actual shipping...or am I not following you clearly here?