Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

router-outlet > page-router-outlet - navigating back from pushed view on the nav stack, takes awhile for view to render/display #47

Open
NathanWalker opened this issue Aug 24, 2016 · 1 comment

Comments

@NathanWalker
Copy link
Owner

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 to RadListView 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.

@NathanWalker NathanWalker changed the title router-outlet > page-router-outlet router-outlet > page-router-outlet - navigating back from pushed view on the nav stack, takes awhile for view to render/display Aug 24, 2016
@vakrilov
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants