salsita / prism

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

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

Closed hunterbmt closed 8 years ago

hunterbmt commented 8 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 8 years ago

Thanks for this!