This official Vue.js documentation claims that the ref() API in Vue 3 uses getters and setters.
In Vue 3, Proxies are used for reactive objects and getter / setters are used for refs.
This would imply, according to my understanding, positive identity checks when comparing an object with the value of its reference. The following example seems to prove the contrary.
Is there a gap in my understanding? Is the abovementioned article out-of-date?
const obj = {};
const objRef = Vue.ref(obj);
Vue.createApp({
setup() {
return {
answer: obj === objRef.value,
};
}
}).mount('#app');
<script src="https://unpkg.com/vue@3"></script>
<div id="app">
<code>obj === objRef.value</code> evaluates to <span>{{ answer }}</span>
</div>
ref) are not the equal to the original object.