This package has a drawback: the function you pass will always be called twice in case of reactive invalidation. See the explanation here.
If you just use isolateValue to access an Iron Router route parameter, this is no big deal. But beware if you perform heavy computation in your function.
To overcome this drawback, you can use alternate packages (such as meteor-embox-value or meteor-computed-field) or use an autorun and a ReactiveVar as described here.
This package has a drawback: the function you pass will always be called twice in case of reactive invalidation. See the explanation here.
If you just use isolateValue to access an Iron Router route parameter, this is no big deal. But beware if you perform heavy computation in your function.
To overcome this drawback, you can use alternate packages (such as meteor-embox-value or meteor-computed-field) or use an
autorunand aReactiveVaras described here.