insertWhen
An extension function which inserts child component and binds it to the observable state when the given condition is true.
Parameters
the Signal instance
remove all children of the child component
whether to run factory function immediately with the current state
a function which re-creates the view based on the given state
Type Parameters
the state type
the container type
An extension function which inserts child component and binds it to the given signal using the substate extractor when the given condition is true.
Parameters
the Signal instance
an extractor function for substate
remove all children of the child component
whether to run factory function immediately with the current state
a function which re-creates the view based on the given state
Type Parameters
the state type
the substate type
the container type