Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/composition-api
/ getCurrentInstance
Function
getCurrentInstance
src/runtimeContext.ts:232–234 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
230
}
231
232
export
function
getCurrentInstance() {
233
return
currentInstance
234
}
235
236
const
instanceMapCache =
new
WeakMap<
237
ComponentInstance,
Callers
15
setup
Function · 0.90
setup
Function · 0.90
setup
Function · 0.90
setup
Function · 0.90
setup
Function · 0.90
setup
Function · 0.90
getCurrentInstanceForFn
Function · 0.90
activateCurrentInstance
Function · 0.90
createElement
Function · 0.90
recordEffectScope
Function · 0.90
getCurrentScopeVM
Function · 0.90
getContext
Function · 0.90
Calls
no outgoing calls
Tested by
6
setup
Function · 0.72
setup
Function · 0.72
setup
Function · 0.72
setup
Function · 0.72
setup
Function · 0.72
setup
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…