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.

8 lines (7 loc) 254 B
import { type AxiosRequestConfig } from "axios"; export declare function useFetchWithCache<T>(url: string, options?: AxiosRequestConfig, cacheKey?: string): { data: T | null; loading: boolean; error: Error | null; refresh: () => void; };