Open rclai opened 9 years ago
I didn't check this but following code seems pretty wrong to me.
Tracker.autorun(function (c) {
if (! c.firstRun) {
console.log('_id:', FlowRouter.getParam('_id'));
}
});
So, in the firstRun it won't see getParam()
. So, there won't be any re-runs.
Try to put it before if.
Oh, right. I just did that just so you didn't see it be undefined
on the first run, but I guess you understand.
I'll have look at this.
Thanks.
@delgermurun did we support params in the prefix?
Ah! Now I got it. Oh! didn't read the title at all. Sounds like a good call. Let's see what's going on here.
I think I made the title too long haha.
We need TLDR for titles as well :P
Okay, this title is better :smile:.
ha ha :D
@rclai This involves a lot of things than it seems. This involves major refactor. So, I'm deferring this for 3.0 I hope that's okay.
I figured it would, no problem.
If grouped route uses a param in the prefix, changing to a different route in the same group should not trigger invalidation on that param again.