https://kotlinlang.org logo
Title
w

William Persall

09/08/2021, 7:40 PM
I am creating a store val mystery = store( reducerFun, MySpace, rEnhancer( )) Fun reducerFun = { state: some Classic, action:RAction -> ......} When I run this, and check in the browser dev tools. There is an issue in Kotlin-redux.js line 30 closure$reducer(state,action.action) that mismatch type action.action is not a function. Looking through action.action is of type RAction which is not a function. Am I declaring things incorrectly?
p

Patrick Jackson

11/19/2021, 11:50 PM
Interesting. I have not done much with js yet. Strange that action would need to be a function. Any updates?