refactor(compiler-sfc): use shallowRef for ref sugar destructure

This commit is contained in:
Evan You
2021-08-04 15:39:23 -04:00
parent bc7dd93f92
commit bf2589b1f0
6 changed files with 35 additions and 35 deletions

View File

@@ -352,6 +352,6 @@ export const compatUtils = (
__COMPAT__ ? _compatUtils : null
) as typeof _compatUtils
// Ref macros ------------------------------------------------------------------
// Ref sugar macros ------------------------------------------------------------
// for dts generation only
export { $ref, $computed, $raw, $fromRefs } from './helpers/refMacros'
export { $ref, $computed, $raw, $fromRefs } from './helpers/refSugar'