Specifically in the context of the onRendered(), onCreated(), onDestroyed() functions, is there a difference between Template.instance() and using the ‘this’ keyword in order to access the template instance?
Thanks!
Specifically in the context of the onRendered(), onCreated(), onDestroyed() functions, is there a difference between Template.instance() and using the ‘this’ keyword in order to access the template instance?
Thanks!
I don’t think there is any difference.
I dont think ther eis difference, just be carefull with scoping this inside functions, autorun etc - cause this change inside them.