I am learning vuejs but I can't find a proper answer. When i am clicking on edit age button or change my name button i am getting below error.
[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "myName"
[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "userAge"
Code is here.
https://codesandbox.io/s/k2197nr4o3
Please let me know what is wrong in this code.