1.1.3 • Published 6 years ago

redux-fetchy-middleware v1.1.3

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

redux-fetchy-middleware

Fetch-wrapping middleware for Redux

Build Status Coverage Status

redux-fetchy-middleware provides a Redux middleware that wraps the Fetch API (or polyfill), allowing a simple action dispatch to asynchronusly reqest data from an API, and automatically trigger the dispatch of success or failure actions based on the API response.

Installation

Installation using NPM

npm i --save redux-fetchy-middleware 

Or use Yarn

yarn add redux-fetchy-middleware

Usage

CommonJS

var reduxFetchy = require('redux-fetchy-middleware').default

ES modules

import ReducFetchy from 'redux-fetchy-middleware')

UMD

var ReduxFetchy = window.ReduxFetchy.default

Configuration

License

MIT

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago