Function: useEntityFetch()
useEntityFetch<
M
,USER
>(__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
>
• USER extends User
Parameters​
• __namedParameters: EntityFetchProps
<M
, USER
>