Oct 21, 2019 in Vue.JS
Q:

What are the array detection mutation methods?

1 Answer

0 votes
Oct 21, 2019

As the name suggests, mutation methods modifies the original array. Below are the list of array mutation methods which trigger view updates.

  1. push()
  2. pop()
  3. shift()
  4. unshift()
  5. splice()
  6. sort()
  7. reverse()

Related questions

0 votes
Oct 21, 2019 in Vue.JS
0 votes
Oct 21, 2019 in Vue.JS
...