There's an issue when using lodash with Vue when you want to remove a value from a reactive array. The situation is explained clearly here: https://github.com/vuejs/vue/issues/2673
Vue captures the splice call on the array, but because lodash uses Array.splice directly, that capture never takes place, and the observer is never notified.
Q: Why does lodash use Array.prototype instead of calling splice directly on the subject array?
It seems like Vuejs is using bad practice.
To make the array reactive I normally do this. I re-assign the filtered array into Vue data property
this.items = [
...this.items
]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
To make the array reactive I normally do this. I re-assign the filtered array into Vue data property