use-axios-request

JSON →
library 0.4.0 ·javascript maintenance
verified Jun 7, 2026

React hooks for data fetching with axios. Version 0.4.0 is the latest stable release (last updated 2021). Provides auto-cancellation on unmount, caching (no-cache, cache-first, cache-and-network), polling, and callbacks (onSuccess, onError). Fully typed with TypeScript. Requires React 16.8+ and axios 0.21.1+. Differentiates from react-query and SWR by being a simple hook wrapping axios with minimal abstraction.