What is the purpose of state in React
It allows us to control an element so that the DOM will udpate as well.
How do you pass an event handler to a React element?
Name the event using camelCase and pass the {function} rather than a string. Provide a listener when the element is initially rendered. Add it as an attribute.