Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

http-react-fetcher

atomic-state33MIT2.4.0TypeScript support: included

React hooks for data fetching

ssr, caching, swr, request deduplication, http, api, react http, fetching hook, use fetch, http request, fetching utilities, cache, graphql-client, graphql, gql

readme

HTTP React Fetcher


#

This package have been renamed to http-react (see here). For stability, http-react-fetcher has not been deprecated but may be in the near future.

You can install the new library by running:

yarn add http-react
# Or
npm install http-react

React hooks for data fetching

Installation:

npm install --save http-react-fetcher

Or

yarn add http-react-fetcher

Browser

With React

<script src="https://unpkg.com/http-react-fetcher@2.2.9/dist/http-react-fetcher.min.js"></script>

Without React

<script src="https://unpkg.com/http-react-fetcher@2.2.9/dist/vanilla.min.js"></script>

Getting started