> For the complete documentation index, see [llms.txt](https://react-use-api.gitbook.io/react-use-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://react-use-api.gitbook.io/react-use-api/master.md).

# Introduction

[![npm](https://img.shields.io/npm/v/react-use-api?label=version\&color=43A047)](https://www.npmjs.com/package/react-use-api) [![Build Status](https://travis-ci.org/RyanRoll/react-use-api.svg?branch=master)](https://travis-ci.org/RyanRoll/react-use-api) [![Coverage Status](https://coveralls.io/repos/github/RyanRoll/react-use-api/badge.svg?branch=master)](https://coveralls.io/github/RyanRoll/react-use-api?branch=master) ![GitHub package.json dependency version (dev dep on branch)](https://img.shields.io/github/package-json/dependency-version/RyanRoll/react-use-api/dev/react?color=EF5350) ![npm type definitions](https://img.shields.io/npm/types/react-use-api?color=0277BD) ![GitHub](https://img.shields.io/github/license/RyanRoll/react-use-api?color=5C6BC0)

[Axios](https://github.com/axios/axios)-based React hooks for async HTTP request data. `react-use-api` feeds API data to React components when SSR (Server-Side Rendering), and caches the data to Front-End. This is designed for diverse UI states and also a good solution if your app is based on [create-react-app](https://create-react-app.dev).

> TypeScript Support
>
> Thread-safe SSR

Icons made by [Eucalyp](https://www.flaticon.com/authors/eucalyp) from [www.flaticon.com](https://www.flaticon.com) is licensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0).
