[Vuejs]-Vue stops tracking array changes

0đź‘Ť

âś…

I managed to solve this over the weekend, I was pushing the wrong “modified array” to the new list that I was looping over.

I didn’t need to put my spliced array into another variable. So I removed let altered array (these should be consts I know) and then changed this.newList = alteredArray to this.newList = clonedArray …not too sure why this was knocking the DOM out of sync?

But it’s now fixed.

Leave a comment