Yarikx/reductor

Partially apply Middleware once for Store and NextDispatcher

Closed this issue · 0 comments

Currently, it's impossible to 'initialize' middleware once Store is created.
In original Redux it's solved by having Middleware as partially applied function
https://github.com/reactjs/redux/blob/master/src/applyMiddleware.js#L29-L30