constructor(
private readonly authService: SocialAuthService,
private readonly authS: AuthService,
private readonly loginS: LoginService,
private readonly router: Router,
private readonly formBuilder: FormBuilder,
) {
alert('c');
}
get foo() {
alert('foo');
return;
}
alert('foo') occurs before alert('c'). I am not using foo in my template. How is this even possible?
Click here for the video.
The video link above contains the code base that cannot be copied/pasted entirely.