API Reference > ui-components > Tree > TreeProps > disposeChildrenOnCollapse disposeChildrenOnCollapse disposeChildrenOnCollapse: undefined | boolean Should child nodes be disposed when parent node is collapsed. Saves some memory in exchange of performance. Disabled by default. Defined in ui/components/src/ui-components/tree/deprecated/component/Tree.tsx Line 79 Last Updated: 12 June, 2024