lundi 9 octobre 2017

Ember.js - Updating a model via Websocket Stream

I want to keep my market model updated via the websocket stream.

I have a platform model that has many markets.

When the user first requests the model, it is retrieved from the backend database. I then want to update with the websocket data.

How do I update different values in the model? I can't figure out how to filter the hasmany relationship by market name then set the values. Maybe there's an easier way to go about it that I'm not seeing.




Aucun commentaire:

Enregistrer un commentaire