salsita / redux-side-effects

Redux toolset for keeping all the side effects inside your reducers while maintaining their purity.
MIT License
180 stars 9 forks source link

Relation to redux-saga? #20

Open dalgard opened 8 years ago

dalgard commented 8 years ago

The docs for redux-elm states:

the Effect executor must be a Saga from redux-saga project

I am wondering why redux-side-effects exists, if the same authors recommend redux-saga. Shouldn't there at least be some mention of redux-saga in the README for this project?

tomkis commented 8 years ago

Not sure if you are aware of it but redux-elm does not depend onredux-side-effects anymore.

This is just another alternative approach for side effect management in redux apps. I'd say it's orthogonal to redux-saga.

dalgard commented 8 years ago

I wasn't aware that redux-side-effects used to be a dependency, but that explains it, I think.

Can you elaborate on what you mean by orthogonal in this context?

tomkis commented 8 years ago

Well not entirely orthogonal since both are "kinda" trying to deal with side effects. However, saga is more about long lived transactions unlike redux-side-effects which deals only with side effects.