Solution:
If you need to know when a component has been created
, mounted
, updated
etc. from a parent component, you can just define a listener using @hook:
followed by the lifecycle hook name.
E.g. from the parent component to execute doSomething()
once the child component is mounted:
<child-component @hook:mounted="doSomething" />