Closed Yarikx closed 7 years ago
Break Middleware.dispatch into two methods:
Dispatcher create(Store store, Dispatcher nextDispatcher)
Middleware
void dispatch(Action action)
Dispatcher
That allows developer to initialize middleware with store and nextDispatcher before any actions are dispatched
Closes #11
Break Middleware.dispatch into two methods:
Dispatcher create(Store store, Dispatcher nextDispatcher)
inMiddleware
void dispatch(Action action)
inDispatcher
That allows developer to initialize middleware with store and nextDispatcher before any actions are dispatched
Closes #11