Description
1st Issue:
When I enter in a vue component using a registered vue-supply (with subscribes) , I get that error:
Cannot read property 'push' of null
This error comes from this line :
vue-meteor-tracker/src/index.js
Line 136 in 6f6a143
this._trackerHandles is equal to null, and I couldn't find any reason.
in $stopMeteor method, this._trackerHandles is set to null, but it didn't get called.
Maybe we could do something like : if (!this._trackerHandles) this._trackerHandles = [];
2nd issue:
Vue component seems to have a cache.
1/ I load for the first time a component, everything works fine.
2/ Then, I leave this component by going to another route (so component is destroyed)
3/ Finaly, I come back into my inital component (changing route again)
Meteor data '${key}': Property already used in the component data, props or other
This error comes from this line:
vue-meteor-tracker/src/index.js
Line 229 in 6f6a143
and more specificly from this statement : hasProperty(this, key)
My vue component already know key
property
I think we should only check for (hasProperty(this.$data, key) || hasProperty(this.$props, key)