[Vuejs]-VueJS : Can I use splice/push on a computed array?

0đź‘Ť

When using arrays or maps, make sure they are initialized in the data part of your component or they won’t be reactive.

“computed” properties have get and set methods. You need to use the set method to change them.

Leave a comment