addComponent

fun addComponent(tag: String, component: ComponentRef)

Register a new component with the given tag. This method, even if it is public, should not be used directly.