You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was getting odd behavior on the second component, and I managed to track it down to the fact that the data object is actually mutated in the creation of the first element. All the props are removed from the data object when props are "extracted" and applied to the element.
Is this intended behavior? or a bug? It seems like the data object to be merged should be cloned instead of mutated, but let me know if there's a reason for this. I can create a repro code pen if needed.
The text was updated successfully, but these errors were encountered:
I suppose this could be intended behavior, but if it is, I think it shouldn't be.
I was writing some stories for my vue storybook and ran into an instance where I was iterating over different variations of a component like so:
I was getting odd behavior on the second component, and I managed to track it down to the fact that the
data
object is actually mutated in the creation of the first element. All the props are removed from thedata
object when props are "extracted" and applied to the element.Is this intended behavior? or a bug? It seems like the data object to be merged should be cloned instead of mutated, but let me know if there's a reason for this. I can create a repro code pen if needed.
The text was updated successfully, but these errors were encountered: