The problem was that subscription to output Saga stream was made after Saga instantiation, however in redux-saga version - Saga may potentially dispatch (yield put...) action in the initialisation phase:
This action is dispatched right upon Saga instantiation and therefore Saga repository has not been yet subscribed to Saga output stream and therefore the action is ignored.
The fix is easy: we just need to subscribe to output action stream inside the constructor of the Saga.
This is a fix for #44
The problem was that subscription to output Saga stream was made after Saga instantiation, however in
redux-saga
version - Saga may potentially dispatch (yield put...
) action in the initialisation phase:eg:
This action is dispatched right upon Saga instantiation and therefore Saga repository has not been yet subscribed to Saga output stream and therefore the action is ignored.
The fix is easy: we just need to subscribe to output action stream inside the constructor of the Saga.