I’m using Template subscribe in oncreate.
If I want to get the helper value I have to use Template.currentData() which is reactive.
And when I use it with Tracker. The console just keep getting the data.
var parentType = Template.instance().parentType;
self.autorun(function(){
console.log(parentType);
})
I get two helper passing by the parent helper : parentType and parent_id.
I want to use this two helper to controlthe subscription in volunteerTakeInsert.
First I can’t get helper in oncreated
so I use currentData.