Best solution for call function


#1

hi guys.
best solution for call in view
in constructor?
in ionViewDidLoad?
or ngOnInit?
or onPageWillEnter?


#2

There is no single answer to this question, which is why all of those things exist. Choose the one that matches when you want things to happen.