How to reload app.component on event in ionic 4

I’m stuck with the following problem.

app.component.ts is listening to event ‘login’ which works fine. But, when then event is firing I want to reload my app.component-page as I want to show a different side menu when a user is logged in.

I found some examples with Content but Content is not included in @ionic/angular anymore.

Has someone a working example? This would me a lot.

Thank you in advance.

Following my environment infos

Ionic CLI : 5.2.6 (/usr/local/lib/node_modules/ionic) Ionic Framework : @ionic/angular 4.4.2 @angular-devkit/build-angular : 0.13.9 @angular-devkit/schematics : 7.3.9 @angular/cli : 7.3.9 @ionic/angular-toolkit : 1.5.1

Perhaps after reading this you won’t want to do that any more.

Following solution worked for me