mardi 23 juin 2015

Ember.js: How to know if model has really changed to avoid unnecessary server calls

I am new to ember, I read that if you change a property ember mark model as dirty. So assume there is a property P with value v1 and now I changed value to v2 and then again changed value to v1, I don't really want to call save in this case because value is still same. What could be way to achieve this.




Aucun commentaire:

Enregistrer un commentaire