3 ms·
It's largely a question of whether you prefer to write your code in imperative-looking form via generator functions, or pipeline/declarative form via observable
by acemarke 9y ago
It's largely a question of whether you prefer to write your code in imperative-looking form via generator functions, or pipeline/declarative form via observables.
There's a couple particularly good comparisons of Redux side effects approaches at https://decembersoft.com/posts/what-is-the-right-way-to-do-asynchronous-operations-in-redux/ https://decembersoft.com/posts/what-is-the-right-way-to-do-a... and https://medium.com/react-native-training/redux-4-ways-95a130da0cdc https://medium.com/react-native-training/redux-4-ways-95a130... , and more comparisons in my links list at https://github.com/markerikson/react-redux-links/blob/master/redux-side-effects.md https://github.com/markerikson/react-redux-links/blob/master... .
- prodtorok 9y agoawesome, thanks