Package io. kvision. redux
Predictable state container based on Redux library.
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ReduxStore<S : Any, A : RAction>(reducer: ReducerFun<S, A>, initialState: S, middlewares: <ERROR CLASS><S>)
Content copied to clipboard
A class implementing redux pattern backed by the Redux Kotlin library.
Functions
Link copied to clipboard
fun <S : Any, A : RAction> createReduxStore(reducer: ReducerFun<S, A>, initialState: S, vararg middlewares: <ERROR CLASS><S>): ReduxStore<S, A>
Content copied to clipboard
An inline helper function for creating Redux store.