Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.6.11 计算属性的实现是不是又重写了? #85

Open
ghost opened this issue Apr 21, 2020 · 3 comments
Open

v2.6.11 计算属性的实现是不是又重写了? #85

ghost opened this issue Apr 21, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 21, 2020

计算属性的最终的值 不变时 也是会重新渲染的
依赖的值发生了变化就会dep.notify() computed watcher将dirty置为true 渲染watcher还是会执行
不是说这是个优化吗 为什么又去掉了?

@liufeisprit
Copy link

好像是的 又改回来了 😂

@LJJ1996
Copy link

LJJ1996 commented Oct 19, 2020

是的,这个issue https://github.com/vuejs/vue/issues/11399里面提到了

@SuperRun
Copy link

为什么又去了呀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants