Hello guys,
I don’t want to pollute global scope. Is it a good practice to add new properties to a Blaze template instance?
Thanks
It is pretty normal to do this in the onCreated() hook, especially for ReactiveVars.
onCreated()
ReactiveVar