Javascript – Listen to inner childs events in ReactJs
How can I listen to an event that occurs in a child of child of child... component? In the example bellow, how can I handle to the "ChildLevel2 - button - onClick" event in the "MainComponent" ? function MainComponent() {…