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
Go to the reproduction link and first open the console to see the print information.
computed relies on ref or reactive, and watch relies on computed. At this time, computed loses its effect and cannot get the latest data. The following code replaces reactive with ref and has the same effect.
This means reactive({}) creates an empty object that won't track newly added properties. To ensure properties can be tracked, you need to initialize them with null or undefined values just like in data().
This means reactive({}) creates an empty object that won't track newly added properties. To ensure properties can be tracked, you need to initialize them with null or undefined values just like in data().
Version
2.7.16-beta.2
Reproduction link
codesandbox.io
Steps to reproduce
What is expected?
What is actually happening?
The text was updated successfully, but these errors were encountered: