Subscribe on changes!

Сomparing the same object gives a false result

avatar
Aug 30th 2021

Version

3.2.6

Reproduction link

v3.vuejs.org

Steps to reproduce

just run the app

What is expected?

Comparing result: true

What is actually happening?

Comparing result: false


I know that the university uses a Proxy object to implement reactivity and to correct this situation, I need to use toRaw(). The problem is that it is not known whether Vue will be used or not outside Class.js.

I have recreated a simplified model and in fact, for comparison, an external library is used inside which Vue proxies objects.

avatar
Aug 30th 2021

Don't duplicate issues. If you want to suggest changes to docs, the repository is vuejs/docs