New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Ref #46

vanderlin opened this Issue Nov 11, 2016 · 1 comment


None yet
2 participants
Copy link

vanderlin commented Nov 11, 2016

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?


var id = this.$;
var ref = firebase.database().ref('/profiles/'+id);
this.$bindAsArray('profiles', ref) 

This comment has been minimized.

Copy link

posva commented Nov 11, 2016

It looks like you want to access it asap. Then you should do that on the created hook

@posva posva closed this Nov 11, 2016

@posva posva added the question label Jan 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment