Skip to content

Meteor autorun goes into an infinite loop. #57

Open
@abhima9yu

Description

@abhima9yu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions