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
Unfortunately this is a limitation of Vue 2's reactivity system. Array mutation methods work by triggering updates of effects that tracks the array itself. There's no way to fix this.
Version
2.7.0-beta.3
Reproduction link
codesandbox.io
Steps to reproduce
pauseTracking with array length when length-altering mutaion
What is expected?
the first demo in Vue3 can show the [ 1, 2 ]
but in Vue2.7.0-beta.3 it shows [ 1, 2, 1, 2 ]
In the second demo will make page stop running.
it looks like vuejs/core#2137
What is actually happening?
not same result and page stop running
The text was updated successfully, but these errors were encountered: