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