Open sferoze opened 9 years ago
It's really hard to answer without looking at a sample code.
Could you send us a sample repo with the issue. On 2015 ඔක් 5, සඳුදා at පෙ.ව. 5.55 Feroze Shahpurwala < notifications@github.com> wrote:
This is a huge issue for me and I am surprised it has not come up before.
When using this package and switching between routes, the rendered callback does not get fired anymore.
If the data is cached and you switch between routes the rendered callback for the template rendered on screen is not fired.
So Meteor is removing the template from the DOM, and when it rendered it again the rendered is not called. I have setup listeners function in the rendered function and they get removed when the template is destroyed. Since the rendered callback is not called they do not get setup again.
— Reply to this email directly or view it on GitHub https://github.com/kadirahq/subs-manager/issues/57.
This is a huge issue for me and I am surprised it has not come up before.
When using this package and switching between routes, the rendered callback does not get fired anymore.
If the data is cached and you switch between routes the rendered callback for the template rendered on screen is not fired.
So Meteor is removing the template from the DOM, and when it rendered it again the rendered is not called. I have setup listeners function in the rendered function and they get removed when the template is destroyed. Since the rendered callback is not called they do not get setup again.