It looks like this example is trying to add an extra field to the store object so that you can call store.runSaga()
. To be honest, the redistribution / copy is completely unnecessary - you can just do store.runSaga = sagaMiddleware.run
.
source
to share