reactBind

fun <S> Container.reactBind(state: ObservableState<S>, className: String? = null, builder: <Error class: unknown class>.(getState: () -> S, changeState: ((S) -> S) -> Unit) -> Unit): React<S>

DSL builder extension function for binding to ObservableState

It takes the same parameters as the constructor of the built component.