readonly() breaks comparison between objects #4986
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
scope: reactivity
Version
3.2.21
Problem
I had an object A that used some data from a readonly object B, but after reassigning the props from object A and try to compare the prop to the equivalent data from object B, the result of the comparison was false when I expected to be true.
I managed to work around this by comparing the internal properties from both objects, but I'd like to know what it's expected to return in the case bellow
Steps to reproduce
The text was updated successfully, but these errors were encountered: