MCPcopy
hub / github.com/vuejs/composition-api / constructor

Method constructor

src/apis/effectScope.ts:66–75  ·  view source on GitHub ↗
(detached = false)

Source from the content-addressed store, hash-verified

64
65export class EffectScope extends EffectScopeImpl {
66 constructor(detached = false) {
67 let vm: Vue = undefined!
68 withCurrentInstanceTrackingDisabled(() => {
69 vm = defineComponentInstance(getVueConstructor())
70 })
71 super(vm)
72 if (!detached) {
73 recordEffectScope(this)
74 }
75 }
76}
77
78export function recordEffectScope(

Callers

nothing calls this directly

Calls 4

defineComponentInstanceFunction · 0.90
getVueConstructorFunction · 0.90
recordEffectScopeFunction · 0.85

Tested by

no test coverage detected