Thank you, this is very helpful in modifying the props of the parent.
I would like to add, you can store the prop on local state and then you can modify the data on the local state.
props : { skillsToMerge : { required: true, type: Array, default: () => [] } }, data : function () { my_skillsToMerge : this.skillsToMerge, }, methods : { alterSkills : function () { // modify this.my_skillsToMerge here } },
Ref: vuejs.org/v2/guide/state-managemen...
This is very interesting, i will implement this and see the possibilties, thank you for this
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you, this is very helpful in modifying the props of the parent.
I would like to add, you can store the prop on local state and then you can modify the data on the local state.
Ref: vuejs.org/v2/guide/state-managemen...
This is very interesting, i will implement this and see the possibilties, thank you for this