Reloading app between users - how to get components to 'reconstruct' themselves

Hello - I am creating a PWA that will be used in schools. There will be situations where 1 student will log in to the app on a computer one period and then another student will use the app another period.

I have logic in my provider constructor & ionViewDidLoad that I want to make sure run again with every new user but those methods are not firing when a new user logs in.

Is there a best practice to reloading the app between users - I tried window.location.reload() which works but requires the page to reload.


I figured out a workaround - I am using Firebase onAuthStateChanged observable in the constructor of my provider. Every time a new user signs in I am getting the data needed. now every time a user signs in, the data is reloaded with the relevant info.