willyrs
07/03/2020, 6:02 PMval splashReducer: Reducer<SplashState> = { state, action -> return state }
and when I call it on iOS I have a EXC_BAD_ACCESS (code=1, address=0x0) error
If I write the function like this:
fun splashReducer(state: SplashState, action: Any) : SplashState { return state }
it works!
Do you think it’s a problem with reduxkotlin or with kotlin-native?
P.S. On kotlin-android it works with bothPatrick Jackson
07/03/2020, 6:30 PMwillyrs
07/03/2020, 6:34 PMPatrick Jackson
07/03/2020, 6:45 PMby lazy
with the reducer and/or store.
2) use a container object for the store and/or reducers
3) just use the funwillyrs
07/03/2020, 6:49 PMPatrick Jackson
07/03/2020, 6:58 PMwillyrs
07/06/2020, 4:29 PM