UseQueryReturnType
The return type of the useQuery hook comprises the data, error logs, and loading indicators.
Example
Type Signature
Fields
Param | Type | Default Value | Description |
---|---|---|---|
|
|
| Response data from GraphQL |
|
|
| Error logs from GraphQL query if API call failed. |
|
|
| Returns |
Last updated
Was this helpful?