What are the caveats of object changes detection?

Posted by Jennifer | Updated on

Vue cannot detect changes for the object in property addition or deletion. Lets take an example of user data changes,

You can overcome this scenario using the Vue.set(object, key, value) method or Object.assign(),


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers