in redux the second option is the way to go. This ...
# redux-kotlin
y
in redux the second option is the way to go. This makes a better separation between the model layer (that is the state) and the ui