I have a component built with es6 class syntax. It's a simple component with just a diverse and some styling. Then, on the parent component (called app), I'd like to render that component and give it an onClick that calls the parent's onclick handler. So far, the parent renders the child like so:
And then I have a method in that parent component that I have bound to the parent's context in the constructor.
The component renders, but the click handler is never called when I click the component. Any idea why?