UNPKG

hoxa

Version:

A comprehensive collection of 100+ production-ready React hooks for state management, UI effects, forms, animations, and more. Carefully curated and optimized for performance and developer experience.

9 lines (8 loc) 259 B
import type { AxiosRequestConfig } from "axios"; export declare function useFetch<T = unknown>(url: string, options?: AxiosRequestConfig): { data: T | null; loading: boolean; error: Error | null; abort: () => void; refetch: () => void; };