Model in most front-end framework have a change event or similar way to notify UI update.
For mongoose Document. I can setup a post set hook. I can listen validate event. These works perfectly.
But I cannot spy array modify. push, pull and so on.
Since mongoose have ability handle these modify and mark dirty internal.
If we emit change event after these operation. Did it affect performance on server side without listeners?