-
Notifications
You must be signed in to change notification settings - Fork 3
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 响应式原理 #26
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相信看过 vue 官方文档的同学,对这张图应该相当很熟悉了。
那么 vue 响应式是怎么实现的?
一般都会说数据劫持 +
Object.defineProperty
下面是简单版的实现
标准版的如下:
The text was updated successfully, but these errors were encountered: