I'm working on my meteor project for quite some time now and I've been trying to avoid manual publish and subscribe calls by using autopublish package but I now see that I can't really use that since I need to wait for data to load before rendering templates. We've already used waitOn in a yet unfinished meteor app we were working on in the beginnning of the last year but it doesn't seem to work in my project.
Hey,
I'm working on my meteor project for quite some time now and I've been trying to avoid manual publish and subscribe calls by using autopublish package but I now see that I can't really use that since I need to wait for data to load before rendering templates. We've already used waitOn in a yet unfinished meteor app we were working on in the beginnning of the last year but it doesn't seem to work in my project.
In routes.js file I have:
but I get the error saying: "Match error: Unknown key in field waitOn". Any ideas?
Thanks in advance