Subscribe on changes!

Breaking change in 3.2.42 - immediate multiple watcher oldValue is undefined

avatar
Nov 9th 2022

Vue version

3.2.42

Link to minimal reproduction

https://sfc.vuejs.org/#eNpNUEuugzAMvIqVTamUhj2iSO01SBd8TJuKfJSEskC5+3Pg/Ra2MvZ4MvbGbs6Jz4KsYnUYvHIRAsbFNdIo7ayPsIHHicPaxeEFCSZvNZxo4iQNQI7BmhChg2smFue/Uv+/lGPXKNqOQ//gULQG1xsHyneCrZ1HQpTvjzNcG9jyyKFlZxSzfRaZsqslTr6U1jiqLmIF0S8IiVp1eWxB/glE1G4mAiGAelSfpi5zzrzfHuPsWPWiOyfewRo6xv65/G4EyaofO5LR7hlL9orRhaoswzTkE76DsP5Z0kv4xUSlUWDQl97bNaAnYcl269Iklr4AGQN9KA==

Steps to reproduce

Open devtools

What is expected?

'a' is logged

What is actually happening?

TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))

System Info

No response

Any additional comments?

#5033 https://github.com/vuetifyjs/vuetify/issues/16051

Typescript still says oldVal is [undefined, undefined]

avatar
Nov 9th 2022

Sorry about that, will fix