How to achieve callbacks in Redux-Saga?

Posted by Jennifer | Updated on

Want to achieve callbacks in Redux-Saga? I think you should add redirect and alert to the login generator. This way all logic is in the saga and it is still easily tested. So basically your login saga would look like this:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers