Open NathanWalker opened 8 years ago
Probably need some more profiling, but to set things straight:
<page-router-outlate>
- does caching of components. <router-outlet>
- uses the default angular behavior. Components are not cached - they are recreated each time.
When using the router-outlet as the base router outlet in the side drawer setup and using a page-router-outlet to push detail views onto, there is a significant delay when rendering the router-outlet view when navigating back from a pushed detail view.
You can observe this behavior when going to
Playlists
in menu, then choose a playlist to view the tracks, then choose 'Back' up top to go back to previous view. Notice the Playlists views you navigated back to will take a moment to render and display. This either related toRadListView
or to the way router-outlet is saving a component instance and showing it again when navigating back./cc @vakrilov would love your insight here.