Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Stnaire opened this issue Dec 3, 2021 · 0 comments · Fixed by #5033
Labels
feat: reactivity 🐞 bug Something isn't working

Comments

@Stnaire
Copy link

Stnaire commented Dec 3, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: reactivity 🐞 bug Something isn't working
Projects
None yet
2 participants