 email validation for any component that modifies an email field.</p>
<p>As a bonus, notice that we no longer need to use <code>.bind</code> to keep a reference to the state for the component&#39;s event handlers.</p>
<h4 id="don&#39;t-manipulate-children"><a href="#don&#39;t-manipulate-children">Don&#39;t manipulate <code>children</code></a></h4>
<p>If a component is opinionated in how it applies attributes or children, you should switch to using custom attributes.</p>
<p>Often it&#39;s desirable to define