Re:Understanding redux-saga: From action creators to sagas
by willriker on Thursday October 12, 2017 @01:33PM
(#15459656)
Another benefit of redux-saga not mentioned here is the ability to build stateful sagas. For example, something like a game loop can be encoded in a saga like this:
export default function* playGame({ getState, selectors }) { yield take(GAME_READY);