vue-meteor-tracker icon indicating copy to clipboard operation
vue-meteor-tracker copied to clipboard

this.$subscribe is not a function

Open diavrank opened this issue 3 years ago • 1 comments
trafficstars

Hi @Akryum , I tried to use subcriptions in Options API by using the syntax:

mounted () {
  // Subscribes to the 'threads' publication with two parameters
  this.$subscribe('thread', ['new', 10])
}

In my app, I am using both versions: this.$subscribe() and the object way { meteor: { $subscribe: [] } }. Actually, I use the second one, but the first one is important as well because I need the subscription starts on the mounted hook.

diavrank avatar Nov 19 '22 04:11 diavrank

Hi @Akryum , have you had the chance to check this?

diavrank avatar Mar 08 '23 02:03 diavrank