-
-
Notifications
You must be signed in to change notification settings - Fork 346
Closed
Labels
Description
I want to figure out the best time to bind the data. Say you are passing a id from a route, If I try to access this info in the beforeCreate
method data is null. When is it best to bind this data?
ie:
var id = this.$route.params.id;
var ref = firebase.database().ref('/profiles/'+id);
this.$bindAsArray('profiles', ref)