Fetch-wrapping middleware for Redux
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 using NPM
npm i --save redux-fetchy-middleware
Or use Yarn
yarn add redux-fetchy-middleware
var reduxFetchy = require('redux-fetchy-middleware').default
import ReducFetchy from 'redux-fetchy-middleware')
var ReduxFetchy = window.ReduxFetchy.default
MIT