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

Problem: allReady() could try and detect relevant subscriptions #11

Open
janat08 opened this issue Apr 16, 2018 · 0 comments
Open

Problem: allReady() could try and detect relevant subscriptions #11

janat08 opened this issue Apr 16, 2018 · 0 comments

Comments

@janat08
Copy link
Contributor

janat08 commented Apr 16, 2018

Problem: When you navigate to page and swiftly return back to previous page it will be loading even if it's actually not if you just used allReady() everywhere as we did.

Solution: Either assume that all of the subscriptions are used in tracker and detect if there's a tracker depending on subscription or assume that allReady() is used in a blaze spacebar's {{else}} condition in a list's {{#each}} therefore possibly having Template.currentData() serve as reliable source of whether a subscription is being used (which would be flimsy way to render things even in our case).

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

1 participant