Subscribe on changes!

can not not get lastest value when nest slot

avatar
Nov 16th 2020

Version

3.0.2

Reproduction link

https://codesandbox.io/s/elegant-moore-rfyck?file=/src/App.vue

Steps to reproduce

1、click change test button 2、click click me button

What is expected?

log record can change

What is actually happening?

record not change


if use record like: <button @click="handleClick(record)">click me {{record}}</button> we can get latest record value.

avatar
Nov 17th 2020

I think it is the same as this issue: https://github.com/vuejs/vue-next/issues/2564

avatar
Dec 4th 2020

@posva @HcySunYang 3.0.4 also have this problem

avatar
Dec 4th 2020