MyGit

6.0.0

pburtchaell/redux-promise-middleware

版本发布时间: 2019-02-04 04:04:10

pburtchaell/redux-promise-middleware最新发布版本:6.2.0(2023-12-28 03:07:18)

Breaking Changes

Previously, the middleware need to be instantiated with an optional configuration.

import promiseMiddleware from 'redux-promise-middleware'

applyMiddleware(
  promiseMiddleware({
    // Optional configuration
  }),
)(createStore)
This implementation enabled custom configuration, but, for most implementations, it is uncessary overhead.

Now, the default export is preconfigured and ready to go.

import promise from 'redux-promise-middleware'

applyMiddleware(
  promise,
)(createStore)

We still support custom configuration. Check the upgrading guide for more help.

Thanks to @rahulbdominic and @zhanyuzhang for assisting on this release.

New

相关地址:原始地址 下载(tar) 下载(zip)

查看:2019-02-04发行的版本