You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using angular.copy in handleDrop causes side effects hard to debug.
i had an array of objects, and elements were copyed to another array (lets call it helper array), sorting was based on this. after handleDrop, the object was replaced in helper array, but the original array kept the original object..
why you use angular.copy when creating the temp variable? what's the use case when it's needed?
The text was updated successfully, but these errors were encountered:
using angular.copy in handleDrop causes side effects hard to debug.
i had an array of objects, and elements were copyed to another array (lets call it helper array), sorting was based on this. after handleDrop, the object was replaced in helper array, but the original array kept the original object..
why you use angular.copy when creating the temp variable? what's the use case when it's needed?
The text was updated successfully, but these errors were encountered: