bindSync
An extension function which binds the widget to the given state flow synchronously. It's less efficient than bind, but fully compatible with KVision 4 state bindings.
Parameters
the state type
the widget type
the StateFlow instance
remove all children of the component
whether to run factory function immediately with the current state
a function which re-creates the view based on the given state
An extension function which binds the widget to the given state flow synchronously using the sub flow extractor. It's less efficient than bind, but fully compatible with KVision 4 state bindings.
Parameters
the state type
the sub state type
the widget type
the StateFlow instance
an extractor function for sub flow
remove all children of the component
whether to run factory function immediately with the current state
a function which re-creates the view based on the given state