One possible feature that react-state-reducer doesn't support out of the box is dispatching based on state. One possible way to solve this is to adopt support for some kind of middleware that we use to generate the dispatch function.