6.1.0
Features
-
feat(useRequest): return all response. (e9317ce)
interface CreateRequest { // Promise function - ready: () => Promise<[Payload<TRequest>, AxiosRestResponse]>; + ready: () => Promise<[Payload<TRequest>, AxiosResponse]>; // Axios Canceler. clear current request. cancel: Canceler; }- const [{ data, error, isLoading, other }] = useResource(...) + const [{ data, error, isLoading, response }] = useResource(...)
No BREAKING CHANGES. Will keep other value, but deprecated.