You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's the ideal way of referencing an existing job collection on the client side? Following the example I create my job collection like so:
if (Meteor.isServer) {
var myJobs = JobCollection('myJobQueue');
}
This also works on my client side only once when my component is first initialized but if I navigate back to my component I get a Error: There is already a collection named "myJobQueue.jobs".
But if the example client code we have again
if (Meteor.isClient) {
var myJobs = JobCollection('myJobQueue');
}
The text was updated successfully, but these errors were encountered:
What's the ideal way of referencing an existing job collection on the client side? Following the example I create my job collection like so:
This also works on my client side only once when my component is first initialized but if I navigate back to my component I get a
Error: There is already a collection named "myJobQueue.jobs"
.But if the example client code we have again
The text was updated successfully, but these errors were encountered: