At this point, we know all the steps of the lifecycle. If you remember in the rendering phase there's a step where the children of the components are rendered too. Now we're going to learn how we can add children to a component.
Ext.container.Container class is responsible to manage children and to arrange those using layouts. If we want our class to contain other components, we should extend from this class. It's worth saying that this class extends from
Ext.Component, so we'll be able to use the component lifecycle in our subclasses too:
All classes that extend from
Ext.Container will be able to have children using the