Skip to main content
Version: 3.0.0-beta

Function: useCollectionFetch()

useCollectionFetch<M, USER>(__namedParameters): CollectionFetchResult<M>

This hook is used to fetch collections using a given collection

Type Parameters​

• M extends Record<string, any>

• USER extends User

Parameters​

• __namedParameters: CollectionFetchProps<M>

Returns​

CollectionFetchResult<M>

Defined in​

packages/firecms_core/src/hooks/data/useCollectionFetch.tsx:63

Sign up to our newsletter to get the latest news and updates. No spam!