Subscribe on changes!

When the data of watch is reactive, newVal is always equal to oldVal

avatar
Sep 24th 2021

Version

3.2.11

Reproduction link

codesandbox.io

Steps to reproduce

DevTool:

Is newVal equal to oldVal?

What is expected?

When the data of watch is reactive, it is consistent with ref, that is, newVal is not equal to oldVal

What is actually happening?

When the data of watch is reactive, newVal is always equal to oldVal image