Open
Description
I'm using geofire and when an object enters into my radius I want to fetch the details and pop it into an array.
Something like:
this.geoquery.on('key_entered', (key, location, distance) => {
this.$bindAsObject(`contacts.${key}`, firebase.database().ref(`contacts/${key}`))
})
However is just creates a variable on the instance with the literal string so I can't iterate through contacts
.
Is there a suggested way of doing this?