You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as the warning suggests, you need to use a function: watch(() => array with reactive. You will also need { deep: true } to track changes inside of the array
tanhauhau
added a commit
to tanhauhau/vue-next
that referenced
this issue
Jul 20, 2020
Version
3.0.0-rc.2
Reproduction link
https://codesandbox.io/s/fervent-sun-87su3?file=/src/index.js
Steps to reproduce
watch a reactive array, the callback function is called with array of undefined
What is expected?
callback function is called with array of undefined
What is actually happening?
callback function is called with the reactive array value
The text was updated successfully, but these errors were encountered: