[Vuejs]-Vue 3 filtering array does not create new array

0👍

Ok never mind I figured it out. Filter creates a shallow copy. I did not know that. So it will keep a reference to the original object.

https://developer.mozilla.org/en-US/docs/Glossary/Shallow_copy

Leave a comment