UNPKG

stripe-redux-promise-middleware

Version:

Redux middleware for handling promises and optimistic updates

23 lines (15 loc) 1.81 kB
# Redux Promise Middleware [![npm version](https://img.shields.io/npm/v/redux-promise-middleware.svg?style=flat)](https://www.npmjs.com/package/redux-promise-middleware) [![Build Status](https://travis-ci.org/pburtchaell/redux-promise-middleware.svg?branch=master)](https://travis-ci.org/pburtchaell/redux-promise-middleware) [![Coverage Status](https://coveralls.io/repos/pburtchaell/redux-promise-middleware/badge.svg?branch=master&service=github)](https://coveralls.io/github/pburtchaell/redux-promise-middleware?branch=master) [![npm downloads](https://img.shields.io/npm/dm/redux-promise-middleware.svg?style=flat)](https://www.npmjs.com/package/redux-promise-middleware) [![Known Vulnerabilities](https://snyk.io/test/npm/redux-promise-middleware/badge.svg)](https://snyk.io/test/npm/redux-promise-middleware) Redux promise middleware enables robust handling of async code in [Redux](http://redux.js.org). The middleware enables optimistic updates and dispatches pending, fulfilled and rejected actions. It can be combined with [redux-thunk](https://github.com/gaearon/redux-thunk) to chain async actions. ## Docs and Help - [Guides](/docs/guides/) - [Introduction](/docs/introduction.md) - [Examples](/examples) - [Releases](https://github.com/pburtchaell/redux-promise-middleware/releases) - [Upgrading versions](/UPGRADING.md) **Older versions:** - [3.x](https://github.com/pburtchaell/redux-promise-middleware/tree/3.3.0) - [2.x](https://github.com/pburtchaell/redux-promise-middleware/tree/2.4.0) - [1.x](https://github.com/pburtchaell/redux-promise-middleware/tree/1.0.0) --- Copyright (c) 2015 Patrick Burtchaell. [Licensed with The MIT License (MIT)](https://raw.githubusercontent.com/pburtchaell/redux-promise-middleware/master/LICENSE). [Gratipay](https://gratipay.com/~pburtchaell/).