I see, I hadn’t though about the presenter approac...
# redux-kotlin
g
I see, I hadn’t though about the presenter approach, that was really helpful. My only concern is that the middleware in that case is not a pure function, which I’m not so sure about it being a good practice. It does make the state cleaner though, and clearing the
toastMessage
from the state on every reduce call isn’t ideal either. I’ll give it a try and see how it works out, thanks!