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