What is the best way to know when an entity has been retrieved from the remote store in ember-data?
I need to make a call to retrieve data but I need some values from a fetched ember-data object.
At the moment I am using this approach but I am sure there is a better way.
contactLoaded: function(){
if(!this.getPath('contact.isLoaded')){
return;
}
//make call
}.observes('App.contact.isLoaded')
I am fearing it is the only way to achieve your goal, as of today... :-/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With