Version 2.0.0
Adds
- Custom type suffixes
- promiseMiddleware is now a function that accepts options and returns the middleware to apply
- Action.type now expects a single type value instead of an array
- Minor bug fixes
Breaking Changes 🔥
The middleware must now be initiliazed like this:
composeStoreWithMiddleware = applyMiddleware(
promiseMiddleware()
)(createStore);
Previously it was:
composeStoreWithMiddleware = applyMiddleware(
promiseMiddleware
)(createStore);