Package-level declarations
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: unknown class><S>)
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: unknown class><S>): ReduxStore<S, A>
An inline helper function for creating Redux store.