Subscribe on changes!

Watch handler is not immediately called when setup with multiple sources all having an undefined value

avatar
Dec 3rd 2021

Version

3.2.23

Reproduction link

sfc.vuejs.org/

Steps to reproduce

Create a watcher using the composition api that takes an array of refs as source, all resolving to an undefined value.

What is expected?

The handler should be called immediately no matter the value of the properties being watched.

What is actually happening?

The handler is only called if at least one of the values is not undefined.