jsMain.redux.Imports.kt Maven / Gradle / Ivy
@file:JsModule("redux")
@file:JsNonModule
package redux
external fun createStore(
reducer: Reducer,
preloadedState: S,
): Store
external fun createStore(
reducer: Reducer,
preloadedState: S,
enhancer: Enhancer,
): Store
external fun combineReducers(reducers: ReducerContainer<*, A>): Reducer
external fun bindActionCreators(actionCreators: ActionCreatorContainer, dispatch: (A) -> R): BoundActionCreatorContainer
external fun applyMiddleware(vararg middlewares: Middleware): Enhancer
external fun compose(function1: (T1) -> R, function2: (A) -> T1): (A) -> R
external fun compose(function1: (T2) -> R, function2: (T1) -> T2, function3: (A) -> T1): (A) -> R
external fun compose(function1: (T3) -> R, function2: (T2) -> T3, function3: (T1) -> T2, function4: (A) -> T1): (A) -> R
© 2015 - 2025 Weber Informatics LLC | Privacy Policy