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.
Hi @Akryum , I tried to use subcriptions in Options API by using the syntax:
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.