Open
Description
Wasted work doing the same thing twice:
- VTreeview calls
useListItems
then it passes props.items to VList which callsuseListItems
again - VSelect has its own selection logic but uses VList which does mostly the same thing in nested
Accessing state from child components in render, these all rely on the child being rendered before they can get values from the ref which means multiple re-renders:
- VTreeview uses
children
andgetPath
from nested through VList - VTreeviewItem uses state from
useLink
anduseNestedItem
through VListItem - VAppbar uses state from its VToolbar