I’m new to meteor.js. Still getting used to it. I get how templates update reactively according to the cursor updates on the server, like this:
{{#if waitingforsomething.length}} Something Happened! {{/if}}
This is good to display elements on the page, updating lists and content. But what if I want to call some javascript or fire an event when something gets updated reactively? What would be the right way to do it with meteor.js?
I’ve posted this on stackoverflow but answers seemed a bit hackish and non-standard, since this should be a very common thing to do on an app workflow, I decided to ask the community here for a better answer.