destroyedInstance
Makes minimal updates to an instance's properties and its nested properties using can-diff/merge-deep/merge-deep.
connection.destroyedInstance(instance, props)
Calls can-diff/merge-deep/merge-deep and triggers the 'destroyed'
event on the instance and it's type
within a [can-event/batch/batch batch].
Parameters
- instance
{Instance}
:The instance that was just destroyed whose properties will be updated.
- props
{Object}
:The new data the instance and children of the instance should be updated to look like.