Lifecycle Main Phases

Mounting

when an enstance of a component is beaing created and inserted into the DOM.

Updating

when a component is beaing re-rendered as a result of changes to it's props or state.

Un mounting

when a component is beaing removed from the DOM.