useEntityFetch
@firecms/core / useEntityFetch
Function: useEntityFetch()
Section titled “Function: 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.
Type Parameters
Section titled “Type Parameters”M extends Record<string, any>
USER extends User
Parameters
Section titled “Parameters”EntityFetchProps<M, USER>