Nice article! Congratulations! But why do you build the sagas inside a while true loop?
Matheus Ashton

That’s basically because sagas are generator functions. Generator functions basically hold their state internally and gives output when you call from the outside. The while true ensures that the saga runs forever, accepting any action in time. With the recent addition to the saga API, you can replace that while true block with the takeEvery function from redux-saga. Behind the scene it does exacly a fork and a while true loop :)

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.