Accessing DOM Elements in React | kirupa.com

You can totally do that. There is no right or wrong answer for when to break something into its own component or not. Our form element is very simple, and I grouped the button and the form element together as one logical grouping.