Skip to main content

UsePaginatedList

usePaginatedList

Returns the context for the paginated list data table. Must be used within a PaginatedListDataTable.

Example

const { refetchPaginatedList } = usePaginatedList();

const mutation = useMutation({
mutationFn: api.mutate(updateFacetValueDocument),
onSuccess: () => {
refetchPaginatedList();
},
});
Signature
function usePaginatedList(): void