yarn redux-thunk 2.0.0
v2.0.0

latest releases: 3.1.0, 3.0.1, 3.0.0...
8 years ago

Note: this release was botched. Read the notes here but install 2.0.1 (or later) instead πŸ˜… .

Breaking Changes

If you used Redux Thunk from npm in CommonJS environment, you need to add .default to your requires:

- var ReduxThunk = require('redux-thunk')
+ var ReduxThunk = require('redux-thunk').default

If you used ES modules, you’re already all good:

import ReduxThunk from 'redux-thunk' // no changes here πŸ˜€

New Features

UMD build

Like with CommonJS build, you will need to grab the middleware from .default export:

var ReduxThunk = window.ReduxThunk.default

Grab the UMD build on npmcdn.

ES modules build

Rollup users can now use redux-thunk directly without commonjs plugin.

Don't miss a new redux-thunk release

NewReleases is sending notifications on new releases.