Skip to content

useEntityFetch

@firecms/core


@firecms/core / useEntityFetch

useEntityFetch<M, USER>(path): EntityFetchResult<M>

Defined in: hooks/data/useEntityFetch.tsx:39

This hook is used to fetch an entity. It gives real time updates if the datasource supports it.

M extends Record<string, any>

USER extends User

EntityFetchProps<M, USER>

EntityFetchResult<M>