Open abhima9yu opened 5 years ago
Forgot to mention that routes related to a particular organisation appear only when an organisation is selected. You can do so by clicking on the organisation card in the organisation list page.
Turning on object freezing for Meteor data fixed a similar infinite loop problem I was having. It's turned off by default, so I'm not sure what the other consequences of turning it on might be?
Vue.config.meteor.freeze = true
Hi,
I am using the latest meteor and meteor-vue-tracker and I am facing an issue in which a meteor property keeps getting called infinitely and slows down the whole project.
I have created this repo to reproduce the issue. There are 4 links provided in the project. They are organisations(list of organisation), organisation dashboard (currently displays only the organisation name), OrganisationRoles (roles list) and Organisation stocks. OrganisationRoles is the only page where there is no subscription. If you go to organisationRoles page and move back to organisationDashboard page then it seems meteor autorun written in the package goes into an infinite loop. This can be confirmed by looking in the console. I have added a console log inside the meteor property, which finds organisation based on route id inside the organisation dashboard. You can see this keeps logging infinitely.
To login use the following credentials:
email - abhima9yu@gmail.com password - password
If in case you are unable to reproduce the issue create a new role and navigate between the routes a few times. Keep the console open at all times.
Kindly look into this as this is happening at lots of places in our project and is a blocker.
Would appreciate if you can take out some of your time and get it fixed.
Thanks, Abhimanyu