# Axios React
[](https://www.npmjs.com/package/axios-react)
[](https://www.npmjs.com/package/axios-react)
[](https://standardjs.com)
HTTP client component for React with child function callback to create async requests in render based on [Axios](https://github.com/axios/axios).
## Installation
Yarn:
```bash
$ yarn add axios-react
```
npm:
```bash
$ npm i -S axios-react
```
## Live example
**[Online Playground](https://stackblitz.com/edit/react-2et9ls)**
## Usage
```jsx
import React from 'react';
import Request from 'axios-react';
const Demo = () => (
{({ loading, response, error, refetch, networkStatus }) => (