229-multi-level-dropdown icon indicating copy to clipboard operation
229-multi-level-dropdown copied to clipboard

Nested component definitions causing unnecessary rerenders

Open 41y08h opened this issue 3 years ago • 0 comments

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 :)

41y08h avatar Aug 22 '21 17:08 41y08h