[TreeView] Use selectors on TreeItem
instead of instance
methods
#14200
Labels
component: tree view
TreeView, TreeItem. This is the name of the generic UI component, not the React module!
performance
Follow up on #13520
The main goal here is to stop re-rendering all the items on every render of the tree view component.
For this, we need to stop using
instance
methods in the render.Most of those should be replaceable by selectors.
Those should use the same architecture as
useGridSelector
with an internal state at the item level.Selectors could also be used at the tree view level but I don't think we have use cases for now.
Search keywords:
The text was updated successfully, but these errors were encountered: