I don't know how soon it's coming out, but @mitar pointed out that the next Meteor release has onCreated, onRendered, and onDestroyed built in, so we should update this package to add those only if they're not already present. This means that everything that uses the internal hooks object will need to look at the core hooks list instead. Hopefully it's exported.
EDIT: To clarify, I think we should keep the existing code, too, to support older Meteor versions for now.
I don't know how soon it's coming out, but @mitar pointed out that the next Meteor release has
onCreated
,onRendered
, andonDestroyed
built in, so we should update this package to add those only if they're not already present. This means that everything that uses the internal hooks object will need to look at the core hooks list instead. Hopefully it's exported.EDIT: To clarify, I think we should keep the existing code, too, to support older Meteor versions for now.