Redux Store
open class ReduxStore<S : Any, A : RAction>(reducer: <Error class: unknown class><S, A>, initialState: S, middlewares: <Error class: unknown class><S>)
Deprecated
Use TypedReduxStore instead.
Replace with
TypedReduxStore(store)Content copied to clipboard
A class implementing redux pattern backed by the Redux Kotlin library.
Parameters
S
redux state type
A
redux action type
reducer
a reducer function
initial State
an initial state
middlewares
a list of optional Redux Kotlin middlewares