useQuery
Fetch data from Airstack by calling queries to the Airstack API. If you need any pagination, use useQueryWithPagination instead.
Last updated
Was this helpful?
Fetch data from Airstack by calling queries to the Airstack API. If you need any pagination, use useQueryWithPagination instead.
Last updated
Was this helpful?
Calling init
function
Param | Type | Default Value | Description |
---|---|---|---|
Param | Type | Default Value | Description |
---|---|---|---|
query
string
-
variables
null
GraphQL query variables
configAndCallbacks
null
Additional configurations and callbacks.
response
-
Response from the hook that will return data, error logs, and loading state.