Skip to content

useListViewContext

useListViewContext(): ListViewContextState

Defined in: packages/react/src/collections/listView/ListViewContext.tsx:182

Exposes the current list view’s shared state to a built-in or third-party list.* slot contribution. Backed by ListViewContext, mounted by CollectionListView.

Experimental: breaking changes are still possible before this stabilizes.

ListViewContextState

The current ListViewContextState.

When rendered outside a ListViewContextProvider.