| |
| |
| Class @Component@ comes with a number of hook methods that can be overridden in order to customize component behavior during its lifecycle. |
| In the following table these methods are grouped according to the stage in which they are invoked (and they are sorted by execution order): |
| |
| {table} |
| *Cycle stage* | *Involved methods* |
| Initialization | onInitialize |
| Rendering | onConfigure, onBeforeRender, onRender, onComponentTag, onComponentTagBody, onAfterRenderChildren, onAfterRender |
| Removing | onRemove |
| {table} |
| |
| Now let's take a closer look at each stage and to at hook methods. |