ReduxStore(reducer: ReducerFun<S, A>, initialState: S, vararg middlewares: <ERROR CLASS><S>)
Creates a Redux store with given reducer function and initial state.
initialState
- an initial state
middlewares
- a list of optional Redux Kotlin middlewares
Constructor
Creates a Redux store with given reducer function and initial state.
ReduxStore(reducer: <ERROR CLASS><S, A>, initialState: S, vararg middlewares: dynamic)
Creates a Redux store with given reducer function and initial state.
initialState
- an initial state
middlewares
- a list of optional Redux JS middlewares
Constructor
Creates a Redux store with given reducer function and initial state.