[Vuejs]-Vue: Forcing child component to react to changes in its prop (which is a dictionary)

0👍

I probably would need to see the exact implementation but it sounds like you need to clone your dictionary to trigger the prop change, ie:

let newProblem = Object.assign({}, this.problem);
// change any nested property
newProblem.some.value = 1
// assign back the cloned and modified dictionary
this.problem = newProblem

Leave a comment