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

waitOn with no loadingTemplate #49

Closed
tomconnors opened this issue Aug 16, 2013 · 2 comments
Closed

waitOn with no loadingTemplate #49

tomconnors opened this issue Aug 16, 2013 · 2 comments

Comments

@tomconnors
Copy link
Contributor

Hi Chris,
Awesome stuff here. I think this router is going to help me clean up a lot of my application's code. My question:
When waiting on subscriptions before navigating to a new page, I see a flicker during which no template is rendered into my main yield. I didn't define a loadingTemplate because I'd like the previous template to just remain there until the subscription is ready. Is this behavior supported?

@cmather
Copy link
Contributor

cmather commented Aug 16, 2013

@tomconnors, Thanks!

To your question... Not at the moment. When you navigate to a new url, a new route is dispatched. So we don't hold on to the previous rendering while in a loading state. I've noticed the flicker a bit too, especially if the subscription takes a short time to finish. Need to give some more thought to a solution. If you have ideas, post them and mark as "idea".

@tomconnors
Copy link
Contributor Author

I'll do some thinking and post anything I come up with. Thanks for the quick response.

This issue was closed.
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