Answer by horyd for Redux-saga calls action after cancel
Maybe start by adjusting your loop inside fetchDataWatcher to look a little more like thisexport function* fetchDataWatcher() { while (true) { yield take('FETCH_DATA'); yield call(fetchData); }}Also...
View ArticleAnswer by garajo for Redux-saga calls action after cancel
This defeats the purpose of saga, which is to handle potentially long running async requests and returns. You could instead set a state in your redux store like soexport function* fetchData() { ......
View ArticleRedux-saga calls action after cancel
I'm trying to implement React-boilerplate with redux-saga inside. So i'm trying to fetch some data from the server and then make a redirect to another page. The problem is that before redirecting saga...
View Article
More Pages to Explore .....