refactor(reactivity): change _isRef to use refSymbol as key (#124)
This commit is contained in:
committed by
Evan You
parent
12b7557e8f
commit
8d70093802
@@ -45,7 +45,7 @@ export function computed<T>(
|
||||
}
|
||||
})
|
||||
return {
|
||||
_isRef: refSymbol,
|
||||
[refSymbol]: true,
|
||||
// expose effect so computed can be stopped
|
||||
effect: runner,
|
||||
get value() {
|
||||
|
||||
Reference in New Issue
Block a user