UNPKG

@hyper-fetch/react

Version:

React hooks and utils for the hyper-fetch

10 lines 512 B
import { RequestInstance } from '@hyper-fetch/core'; import { UseRequestEventsReturnType, UseRequestEventsPropsType } from '..'; /** * This is helper hook that handles main Hyper-Fetch event/data flow * @internal * @param options * @returns */ export declare const useRequestEvents: <R extends RequestInstance>({ request, dispatcher, logger, actions, setCacheData, getIsDataProcessing, }: UseRequestEventsPropsType<R>) => UseRequestEventsReturnType<R>; //# sourceMappingURL=use-request-events.hooks.d.ts.map