Function: useEntityFetch
▸ useEntityFetch<M
, UserType
>(«destructured»
): EntityFetchResult
<M
>
This hook is used to fetch an entity. It gives real time updates if the datasource supports it.
Type parameters
Name | Type |
---|---|
M | extends Record <string , any > |
UserType | extends User |
Parameters
Name | Type |
---|---|
«destructured» | EntityFetchProps <M > |