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