useLazyQuery
Manually trigger data fetching from Airstack by calling queries to the Airstack API. If you need any pagination, use useLazyQueryWithPagination instead.
Pre-requisites
Calling
init
function
Example
Function Signature
Params
Param | Type | Default Value | Description |
---|---|---|---|
|
| - | |
|
| GraphQL query variables | |
|
| Additional configurations and callbacks. |
Responses
Param | Type | Default Value | Description |
---|---|---|---|
| - | Response from the hook that will return an execute function, data, error logs, and loading state. |
Last updated
Was this helpful?