{"library":"react-axios","type":"library","category":null,"description":"React component wrapper for Axios that allows declarative HTTP requests inside render methods using child function callbacks. Current version 2.0.6 supports React 16-18, Axios ^0.27.2, and prop-types ^15.8.1. Features auto-cancel of previous requests, debounce, custom axios instances via AxiosProvider, and higher-order component withAxios. Alternative to react-query or SWR for simple data fetching, but lacks caching and background refetch capabilities. Release cadence is low (last major update 2022).","language":"javascript","status":"maintenance","version":"2.0.6","tags":["javascript","axios","react","component","xhr","http","ajax","promise","node"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-axios","imports":["import { Request } from 'react-axios'","import { Get } from 'react-axios'","import { AxiosProvider } from 'react-axios'"]},{"cmd":"yarn add react-axios","imports":[]},{"cmd":"pnpm add react-axios","imports":[]}],"homepage":"https://github.com/sheaivey/react-axios","github":"https://github.com/sheaivey/react-axios","docs":null,"changelog":null,"pypi":null,"npm":"react-axios","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}