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

Vue-源码学习 #55

Open
PleaseStartYourPerformance opened this issue Nov 17, 2021 · 0 comments
Open

Vue-源码学习 #55

PleaseStartYourPerformance opened this issue Nov 17, 2021 · 0 comments

Comments

@PleaseStartYourPerformance
Copy link
Owner

PleaseStartYourPerformance commented Nov 17, 2021

相关链接:https://vue-js.com/learn-vue/reactive/#_1-%E5%89%8D%E8%A8%80

知识点1:数据驱动视图-变化侦测

1.在Angular中是通过脏值检查流程来实现变化侦测;
2.在React是通过对比虚拟DOM来实现变化侦测,
3.而在Vue中也有自己的一套变化侦测实现机制。

知识点2:Array型数据还是在getter中收集依赖

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

1 participant