I have 2 users, and I want to list them, but it is really slow.
From other collections Meteor gets much more data really fast but from users it’s slow when I use the RouteLink links from Angular 2.
The server:
Meteor.publish('allUsers', function() {
let cursor = Meteor.users.find({});
return cursor;
});
In my component:
Meteor.subscribe('allUsers', () => {
this.users = Meteor.users.find({});
});