Why changes take affect on also props when I set v-model equal to props in mount hook.
export default{
props: {
initial_value: Array,
},
data(){
return { component_value: [] }
},
mounted(){
this.component_value = this.initial_value;
}
}
So when I make some changes to component_value it also take affect on initial_value.
I wanted to write whole my code here but just tried make it short.