ReduxStore(reducer: <ERROR CLASS><S, A>, initialState: S, stateSerializer: KSerializer<S>, vararg middlewares: dynamic)
Creates a Redux store with given reducer function and initial state.
S
- redux state type (@Serializable)
stateSerializer
- a serializer for the state type
middlewares
- a list of optional Redux JS middlewares
Constructor
Creates a Redux store with given reducer function and initial state.