Here&#x27;s a long-form answer to both questions. :)<p><a href="https:&#x2F;&#x2F;www.safaribooksonline.com&#x2F;blog&#x2F;2015&#x2F;10&#x2F;29&#x2F;react-local-component-state&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.safaribooksonline.com&#x2F;blog&#x2F;2015&#x2F;10&#x2F;29&#x2F;react-loca...</a>