1.0.1 • Published 4 years ago

@bitbrother/fetch-dog-hooks v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

fetch-dog logo

FETCH-DOG

React app http agent

TODO Decent docs

version <ORG_NAME> NPM JavaScript Style Guide

Install

npm install --save @vladblindu/fetch-dog
#or
yarn add @vladblindu/fetch-dog

Usage

!!! Reuires a BrowserRouter HOC to automaticaly redirect to error pages

Create a http-agent file in the ./src folder with the following content

import React from 'react
import fetchDog from 'fetch-dog'
import httpConfig from './config/http-agent.config.json'

const fetchDogHttpAgent = fetchDog

License

MIT © vladblindu

1.0.4

4 years ago

1.0.3

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago