The best way to test Redux Sagas

added by JavaScript Kicks
12/11/2018 8:21:59 AM

735 Views

tl;dr: to test a saga, it's way, way better to run it as a whole (using runSaga()) than to do it step-by-step (using gen.next()) In my team, we're currently using redux-saga to handle asynchronous calls in our React/Redux application. These sagas can call APIs and dispatch actions using ES6 generators.


0 comments