What Is The Correct Way To Implement Transactions With Redux
I need to run two queries to a server and if successful perform some action. Without redux I'd do it like that using Q library: $q.all([service.doAction1(),service.doAction2()]).th
Solution 1:
I think either:
redux-thunk; See the async example here: https://github.com/gaearon/redux-thunk#motivation
or
redux-saga https://github.com/yelouafi/redux-saga
Would help solve your issue.
Post a Comment for "What Is The Correct Way To Implement Transactions With Redux"