How do I manage state on component that can have state changed from the parent or from events upon it?
How do I manage state on a React component that can have state changed from the parent or from events upon it?