When using flow router I was having a problem when changing routes to a new page with different comments it was giving me some js errors in comment-ui and not rendering the new comments. I tracked it down to flow router not completely re-rendering the comments templates when a new id was passed in. To solve this problem you need to do a BlazeLayout.reset() each time the route changes. This took me a while to track down and figure out the solution. So I figured I would post it here in case someone else was having this trouble as well.
When using flow router I was having a problem when changing routes to a new page with different comments it was giving me some js errors in comment-ui and not rendering the new comments. I tracked it down to flow router not completely re-rendering the comments templates when a new id was passed in. To solve this problem you need to do a BlazeLayout.reset() each time the route changes. This took me a while to track down and figure out the solution. So I figured I would post it here in case someone else was having this trouble as well.