Async ionViewWillEnter()


#1

I would like to make ionViewWillEnter() async since I want to use await in it to make some operations on the storage. It works but I am curious is it legit practice or it can lead to some errors?


#2

Hi@bambaniasz
You can use settimeout ,but settimeout is not good way :smile:

setTimeout(()=>{
//Do function you want to execute
},500);