kvision / pl.treksoft.kvision.redux / StateBinding / <init>

<init>

StateBinding(store: ReduxStore<S, A>, container: CONT, factory: CONT.(S) -> CONTENT)

Creates StateBinding which binds the redux store with the given container.

Parameters

S - redux state type

A - redux action type

CONT - container type

store - a redux store

container - a container

factory - a function which re-creates the view based on the given state

Constructor
Creates StateBinding which binds the redux store with the given container.