Question - What are the array detection mutation methods in Vue.js?
Answer -
As the name suggests, the array detection mutation methods in Vue.js are used to modify the original array. Following is a list of array mutation methods which trigger view updates:
- push()
- pop()
- shift()
- unshift()
- splice()
- sort()
- reverse()
When you perform any of the above mutation methods on the list, then it triggers view update.