salsita / prism

React / Redux action composition made simple http://salsita.github.io/prism/
496 stars 24 forks source link

Return result of dispatch function so middleware could join the game #59

Closed hunterbmt closed 7 years ago

hunterbmt commented 7 years ago

Returning result of dispatch function (which will be return by middlewares) will help us to benefit from middleware extension for example returning promise if action contains some special attribute.

tomkis commented 7 years ago

Thanks for this!