API Reference > presentation-components > Tree > usePresentationTreeNodeLoader usePresentationTreeNodeLoader Function Custom hooks which creates PagedTreeNodeLoader with PresentationTreeDataProvider using supplied imodel and ruleset. usePresentationTreeNodeLoader(props: PresentationTreeNodeLoaderProps): { nodeLoader: PagedTreeNodeLoader<IPresentationTreeDataProvider>, onItemsRendered: (items: RenderedItemsRange) => void } Parameter Type Description props PresentationTreeNodeLoaderProps Returns - { nodeLoader: PagedTreeNodeLoader<IPresentationTreeDataProvider>, onItemsRendered: (items: RenderedItemsRange) => void } Defined in presentation/components/src/presentation-components/tree/controlled/TreeHooks.ts Line 65 Last Updated: 11 June, 2024