https://kotlinlang.org logo
#redux-kotlin
Title
# redux-kotlin
g

gnardini

10/10/2016, 9:56 PM
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!