I got “_this.autorun is not a function”
Template.XXX.onRendered(( )=>{
this.auto(()=>{})
});
I got “_this.autorun is not a function”
Template.XXX.onRendered(( )=>{
this.auto(()=>{})
});
You can’t use arrow functions for the on rendered callback, because it doesn’t work with ‘this’.