Skip to content

Version 2.0.0

Compare
Choose a tag to compare
@pburtchaell pburtchaell released this 03 Nov 14:47

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);