redux-saga-callback icon indicating copy to clipboard operation
redux-saga-callback copied to clipboard

Does redux-saga-callback swallow actions?

Open chmac opened this issue 4 years ago • 0 comments

Firstly, thanks for this code. It's in TypeScript, which is a big win, and provides a valuable approach on the topic of saga composition.

In the case where I want the dispatched action to actually be processed by the reducers, will that happen?

My issue is that when I yield call(effect, action()), the action doesn't reach my redux store. In some cases, that's an issue. I could split my actions into saga triggering events and redux reducer actions, but that seems a bit convoluted, error prone, etc. I guess to work around this would require a redux middleware... 🤔

chmac avatar Dec 04 '20 20:12 chmac