Package io. kvision. redux
Predictable state container based on Redux library.
Types
Action Creator
Link copied to clipboard
Reducer Fun
Link copied to clipboard
Redux Store
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
create Redux Store
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.