⚠️ You are viewing documentation for an older version of Compose SDK.
Version:
# Type alias UseQueryResult<TData, TError>
UseQueryResult: <
TData,TError>TanstackUseQueryResult<TData,TError>
The result of the useFetch hook.
Return value of the useQuery hook from @tanstack/react-query.
# See
https://tanstack.com/query/v4/docs/framework/react/reference/useQuery
# Type parameters
| Parameter | Description |
|---|---|
TData | The type of the data returned by the fetch request |
TError | The type of the error returned by the fetch request |