Ionic 4 - Ionic side menu applcation retain component state like tabs

The tabs architecture has a nice feature where you can click from one tab to the other and the lazy loaded component state is retained, including the previously visited URL.

However, with a side menu application, the state and URL is reset each time.

Is there any way to achieve this?