Is the execution of fn in setTimeout(fn, 0) called from the constructor() ensured to happen after angular lifecycle hooks ngOnInit & ngAfterViewInit?
I have the following Angular2 ‘pseudo’ code and I want to keep the user class as simple as possible:
Is the execution of setTimeout(fnc, 0) called from the constructor() ensured to happen after angular lifecycle hooks ngOnInit & ngAfterViewInit?
I have the following Angular2 ‘pseudo’ code and I want to keep the user class as simple as possible: