Description of createComponent*() method in component
The factory method is fully explained in Presenter chapter, but there is no description in Component chapter that this method can be used here also. This factory method is often used in components, for example for independently rendered forms.
That’s actually how the page starts. There is an example with createComponentPoll().
On the start of the page https://doc.nette.org/cs/application/components#toc-tovarni-metody is described method createComponent<Name>() in presenter + But I mean something else - method createComponent<Name>() in UI\Control !!
The documentation says you can add component into presenter using createComponent<Name>() in presenter. But you can use createComponent<Name>() also in UI\Control component to add a subcomponent into component. We should add to documentation tis important information - that this method can be used not only in presenter, but also in UI\Control component