meteor-vue / vue-meteor-tracker

Use Meteor Tracker reactivity inside Vue components
90 stars 20 forks source link

data.property will break #6

Closed janat08 closed 7 years ago

janat08 commented 7 years ago

I can't tell if it only happens on page refresh, but using db.found.property or using that in v-for or {{ }} will break client. I used another way, but probably using vue data field with || operator to access meteor data property is better way getting it unless the || operator won't auto update to use meteor data.

PS this is about findOne that doesn't appear to care if you selected a field in find params

janat08 commented 7 years ago

The || operator won't work.

janat08 commented 7 years ago

you should use global guard from vue router.