Skip to content

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

@Wyy-96

Description

@Wyy-96

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions