Commit 13ee7eb3 authored by 张芳利's avatar 张芳利

Update 浅谈Proxy.md

parent 533036af
Pipeline #15460 failed with stage
---
title: 浅谈Proxy
date: 2022/3/29 12:05:17
tags:
- vue3
- proxy
author: 张芳利
---
# Vue3使用的proxy是什么?
众做周知Vue2的双向绑定原理是利用了ES5的一个API`Object.defineProperty()`对数据进行劫持,结合发布订阅模式的方式来实现的。
而Vue3 中则是使用了ES6的Proxy 对数据代理。
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment