You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous state received by the reducer has unexpected type of "Object". Expected argument to be an object with the following keys: "todos", "visibilityFilter"
Any idea where this might be coming from?
The text was updated successfully, but these errors were encountered:
I just cloned the project, ran the gradlew -t run command in the root of the project and it started building. It compiled succesfully and webpack started running at localhost:8088 as documented in the README.md.
I believe this has something to do with the way Kotlin classes are transpiled to JS, though I am not entirely sure, I may have misconfigured something (rEnhancer maybe?). I'll look into this when I have time.
To avoid this warning you can just make something like this.
val store = createStore<State, RAction, dynamic>( combinedReducers(), JSON.parse(JSON.stringify(State())), compose( rEnhancer(), js("if(window.__REDUX_DEVTOOLS_EXTENSION__ )window.__REDUX_DEVTOOLS_EXTENSION__ ();else(function(f){return f;});") ) )
Unfortunately cannot find anything other than this to overdue this warning
I just cloned the repo and ran the app.
I get the following warning:
The previous state received by the reducer has unexpected type of "Object". Expected argument to be an object with the following keys: "todos", "visibilityFilter"
Any idea where this might be coming from?
The text was updated successfully, but these errors were encountered: