Skip to content
New issue

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

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

Already on GitHub? # to your account

js基础的ES6部分,vue3的响应式数据 #13

Open
Wyy-96 opened this issue Sep 25, 2021 · 0 comments
Open

js基础的ES6部分,vue3的响应式数据 #13

Wyy-96 opened this issue Sep 25, 2021 · 0 comments

Comments

@Wyy-96
Copy link

Wyy-96 commented Sep 25, 2021

vu3中,ref 函数被推荐用来声明基础数据类型的响应式,仍然是通过Object.defineProperty实现的,而reactive定义的引用数据类型才是通过Proxy实现的,所以并不是完全替换的关系。

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

No branches or pull requests

1 participant