229-multi-level-dropdown
229-multi-level-dropdown copied to clipboard
Nested component definitions causing unnecessary rerenders
The menu is rerendering so frequently that the user is not even able to click on it.
The problem is that you are defining a component inside another component and label this technique as "component composition" but this is not, this is component composition
This demo is worth a thousand words..
Btw this project is really awesome, thanks :)