Does meteor merge multiple subscriptions to the same publication?


#1

Does Meteor merge multiple subscriptions to the same publication?
Let’s say I’m using React and I have cities select filter and I also have a form with cities select.
I’m using withTracker for each one to fetch the cities will Meteor merge the subscriptions of cities publication? or each one is considered a separate subscription?

Thank you


#2

Read this: http://www.discovermeteor.com/blog/understanding-meteor-publications-and-subscriptions/


#3

Yes, it does. But there is a package to limit the scope of queries to a specific subscription:

https://atmospherejs.com/peerlibrary/subscription-scope