Hello guys!
I have a problem related to reactivity since I have updated Meteor from versions 1.4.4 to 1.11.1.
It seems that only the Insert and Delete operations are working reactively now.
After I modify a document in the data base, nothing changes instantly in Minimongo, I must refresh the page to re-run the code in order to see the updates made to documents.
At first, I thought that the filters witch I had in the publications and subscriptions are the source of the problem, although they ran properly in version 1.4.4, but even after erasing them, the problem persists.
Here is a piece of my code from one of my modules after I simplified it:
Meteor.publish('clients', function pubClients () {
return Clients.find({});
});
Template.clientsView.onCreated( function bodyOnCreated(){
Meteor.subscribe('clients');
// …
})
Template.clientsView.helpers({
clients(){
return Clients.find({});
},
});