onComponent

abstract fun <P, C : Component<P>> onComponent(props: P, creatorFn: (Ctx<P>) -> C, cls: KClass<C>): ComponentRef<C>