mirror of
https://github.com/ifengzp/cocos-awesome.git
synced 2024-12-27 12:08:41 +00:00
12 lines
160 B
JavaScript
12 lines
160 B
JavaScript
|
//原始=>响应式
|
||
|
let toProxy = new WeakMap();
|
||
|
|
||
|
//响应式=》原始
|
||
|
let toRaw = new WeakMap();
|
||
|
|
||
|
//响应式
|
||
|
|
||
|
function reactive() {}
|
||
|
|
||
|
function computed() {}
|