If a object from deconstruct can't be watch even thought it is a proxy object? #11333
Unanswered
dddssw
asked this question in
Help/Questions
Replies: 2 comments 3 replies
-
This might be related to this [PR] #7986
|
Beta Was this translation helpful? Give feedback.
3 replies
-
This is confused for me too, which is the reason why I do not like the destructure props feature. You can try: isReactive(tableData) // = true So |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
playground
why can't write like this
`
// change watch tableData in comp.vue not a getter
watch(tableData,(val)=>{
console.log(val,'watch')
},{immediate:true})
`


in the playground ,I printed it.It is a proxy ,right? So,the tableData from Deconstruct is still reactivity proxy
This is a force rule?😢
Beta Was this translation helpful? Give feedback.
All reactions