I would do this differently. Instead of calling setRoot()
, I prefer conditionally setting the app component’s rootPage based on an Observable in an authentication service.
1 Like
I would do this differently. Instead of calling setRoot()
, I prefer conditionally setting the app component’s rootPage based on an Observable in an authentication service.