Meteors ability to track template helper objects in the DOM


#1

I have been really curious if someone could explain how Meteor tracks objects specifically those rendered to a template via a helper without any visible references to go with them.

Example: helper loops through a collection and each objects value is rendered to the template. If you set up say a click event on the rendered object and console log “this._id” or “this.someOtherKey” meteor knows.

My guess is meteor is creating some kind of session to track objects each time a template is rendered. But that’s just a guess.

Thanks!