Subsciptions keep on reloading
Opened this issue · 1 comments
stephankoeppen commented
Hello,
for my app, i added the subscription as described in the example. The problem I'm facing though is, that it seems to loose the data and loads it again. Sometimes it happens while i have the app open, sometimes when i leave it and go back to it. I cant really determine when its happening. The backend ist a mongo db.
export default createContainer((props) => {
const
kunde = GroundedMeteor.subscribe('kundesub', 'kunde', Meteor.user()),
ansprechpartner = GroundedMeteor.subscribe('ansprechpartnersub', 'ansprechpartnerAll'),
gespraechsprotokoll = GroundedMeteor.subscribe('gespraechsprotokollsub', 'gespraechsprotokollAll'),
umsatzzahlen = GroundedMeteor.subscribe('umsatzzahlensub', 'umsatzzahlenIOS'),
offenePunkte = GroundedMeteor.subscribe('offenePunktesub', 'offenePunkteAll')
return {
kunde: GroundedMeteor.collection('kunde', 'kundesub').find({})
};
}, Kunden)
Am I doing something wrong?
JulianKingman commented
That seems to be correct. Can you post a screenshot of some console logs showing the issue?