FormidableLabs / freactal

Clean and robust state management for React and React-like libs.
MIT License
1.65k stars 46 forks source link

How to access state after effects complete in middleware? #62

Closed zhengjunxin closed 7 years ago

zhengjunxin commented 7 years ago

In freactal v1.1.0, I want to track the state changes in middleware for debugging just like what redux-logger did. However I find that I can't access the latest state after effects complete in middleware.

Am I missing anything? And it would be fabulous if you could help me out. Thanks!

divmain commented 7 years ago

Hi @JoeZheng2015! Thanks for opening the PR! I've merged in the changes (which was my intended behavior, anyway :) ), and they'll be included in the next release!

zhengjunxin commented 7 years ago

@divmain Thanks :)