0
A profile is coming from a parent component:
<app-telefone-form [perfil]="perfil"></app-telefone-form>
But when it arrives at the child component, it is necessary to delay the consultation by 53ms. See:
ngOnInit() {
    this.initTelefoneForm();
    this.initRedeSocialForm();
    setTimeout(() => {
      if (this.perfil) {
        this.findAllTelefonesByPessoa();
      }
    }, 54);
  }
That for me is a gambit, the use of setTimeOut to control the life cycle, so I wonder if you have any way to treat this refactoring for something more elegant, since the profile only propagates 53ms later.
"it is necessary to delay the consultation" - why? how did you come to that conclusion?
– Sergio
I don’t know yet why... but the propagation time takes 54ms for the object instance to reach its destination.
– Thiago Cunha