Function: useEntityFetch()
useEntityFetch<
M
,UserType
>(__namedParameters
):EntityFetchResult
<M
>
This hook is used to fetch an entity. It gives real time updates if the datasource supports it.
Type Parameters​
• M extends Record
<string
, any
>
• UserType extends User
Parameters​
• __namedParameters: EntityFetchProps
<M
, UserType
>