1 min readAug 12, 2019
Hi Dmitry! Thanks for your reply!
I understand that legacy codebases are gonna have classes. Since classes & hooks basically work together, I donāt know why anyone would write much new code without using hooks, because it simplifies event handling so much.
On the other hand, it is a bit of a black boxā¦ and I have no idea how to handle that ābubbling problemā when you click on the innermost box but want it handled by the outermost box using React Hooks. :-)