Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexzhang-dev/mini-vue
/ functions
Functions
197 in github.com/alexzhang-dev/mini-vue
⨍
Functions
197
◇
Types & classes
11
↓ 69 callers
Function
h
(type: VNodeType, props: T, children?: VNode[] | string | undefined)
src/runtime-core/h.ts:4
↓ 17 callers
Function
ref
(value)
src/reactivity/ref.ts:31
↓ 14 callers
Function
push
(source: string)
src/compiler-core/src/codegen.ts:121
↓ 13 callers
Function
reactive
(raw)
src/reactivity/reactive.ts:19
↓ 12 callers
Function
baseParse
(content: string)
src/compiler-core/src/parse.ts:8
↓ 10 callers
Function
createApp
(rootComponent: VNode)
src/runtime-dom/index.ts:53
↓ 9 callers
Function
isReactive
(raw)
src/reactivity/reactive.ts:27
↓ 9 callers
Function
patch
(n1: OldVNodeTypeWithNone, n2: NewVNodeType, container: ContainerType, parentInstance: Component, anchor: Anch
src/runtime-core/render.ts:36
↓ 8 callers
Function
effect
(fn, options: any = {})
src/reactivity/effect.ts:107
↓ 8 callers
Function
isReadonly
(raw)
src/reactivity/reactive.ts:31
↓ 7 callers
Function
transform
(root, options = {})
src/compiler-core/src/transform.ts:4
↓ 5 callers
Function
codegen
(ast)
src/compiler-core/src/codegen.ts:9
↓ 5 callers
Function
genNode
(node, context)
src/compiler-core/src/codegen.ts:36
↓ 5 callers
Function
getCurrentInstance
()
src/runtime-core/component.ts:114
↓ 5 callers
Function
isRef
(ref)
src/reactivity/ref.ts:35
↓ 5 callers
Function
readonly
(raw)
src/reactivity/reactive.ts:23
↓ 5 callers
Function
toRaw
(observed)
src/reactivity/reactive.ts:47
↓ 4 callers
Function
advanceBy
(context, length: number)
src/compiler-core/src/parse.ts:85
↓ 4 callers
Function
createActiveObject
(raw, baseHandlers)
src/reactivity/reactive.ts:15
↓ 4 callers
Function
createGetter
(isReadonly = false, shallow = false)
src/reactivity/baseHandlers.ts:11
↓ 4 callers
Function
inject
(key: string, defaultValue?: unknown)
src/runtime-core/apiInject.ts:16
↓ 4 callers
Function
isObject
(val: unknown)
src/shared/index.ts:3
↓ 3 callers
Function
createVNode
(type: VNodeType, props?: T, children?: VNode[] | string | undefined)
src/runtime-core/vnode.ts:29
↓ 3 callers
Function
isProxy
(wrapped)
src/reactivity/reactive.ts:39
↓ 3 callers
Function
isSameVNode
(n1, n2)
src/runtime-core/render.ts:125
↓ 3 callers
Function
mountChildren
(children: VNode["children"], container: NormalNode, parentInstance: Component, anchor: AnchorType)
src/runtime-core/render.ts:307
↓ 3 callers
Method
run
()
src/reactivity/effect.ts:15
↓ 3 callers
Function
shallowReadonly
(raw)
src/reactivity/reactive.ts:35
↓ 3 callers
Function
unRef
(ref)
src/reactivity/ref.ts:39
↓ 2 callers
Function
computed
(getter)
src/reactivity/computed.ts:26
↓ 2 callers
Function
createRenderer
(options: RendererOptions<NormalNode>)
src/runtime-core/render.ts:21
↓ 2 callers
Function
emit
(instance: VNode, event: string, ...params: unknown[])
src/runtime-core/componentEmit.ts:8
↓ 2 callers
Function
hasOwn
(target = {}, key)
src/shared/index.ts:21
↓ 2 callers
Function
isArray
(val: unknown)
src/shared/index.ts:11
↓ 2 callers
Function
isString
(val: unknown)
src/shared/index.ts:7
↓ 2 callers
Function
isText
(node)
src/compiler-core/src/utils.ts:3
↓ 2 callers
Function
nextTick
(fn)
src/runtime-core/scheduler.ts:5
↓ 2 callers
Function
parseChildren
(context: { source: string }, ancestors)
src/compiler-core/src/parse.ts:26
↓ 2 callers
Function
parseTag
(context: { source: string }, type: TagType)
src/compiler-core/src/parse.ts:102
↓ 2 callers
Function
parseTextData
(context: { source: string }, length)
src/compiler-core/src/parse.ts:132
↓ 2 callers
Function
provide
(key: string, value: string | number | boolean)
src/runtime-core/apiInject.ts:3
↓ 2 callers
Function
proxyRefs
(objectWithRefs)
src/reactivity/ref.ts:43
↓ 2 callers
Function
renderComponentRoot
(instance: Component)
src/runtime-core/componentRenderUtils.ts:4
↓ 2 callers
Function
renderSlots
(slots: InternalSlots, name: string = 'default', props: unknown)
src/runtime-core/helpers/renderSlots.ts:5
↓ 2 callers
Function
setCurrentInstance
(instance: Component | null)
src/runtime-core/component.ts:118
↓ 2 callers
Function
shallowReactive
(raw)
src/reactivity/reactive.ts:43
↓ 2 callers
Function
startsWithEndTagOpen
(source, tag)
src/compiler-core/src/parse.ts:136
↓ 2 callers
Function
stop
(runner)
src/reactivity/effect.ts:102
↓ 2 callers
Function
trackEffect
(dep)
src/reactivity/effect.ts:71
↓ 2 callers
Function
traverseNode
(node, context)
src/compiler-core/src/transform.ts:32
↓ 2 callers
Function
triggerEffect
(deps)
src/reactivity/effect.ts:91
↓ 1 callers
Function
baseCompile
(template: string)
src/compiler-core/src/compile.ts:8
↓ 1 callers
Function
camelize
(str: string)
src/runtime-core/componentEmit.ts:10
↓ 1 callers
Function
capitalize
(str: string)
src/runtime-core/componentEmit.ts:15
↓ 1 callers
Function
cleanupEffect
(effect)
src/reactivity/effect.ts:36
↓ 1 callers
Function
createAppAPI
(renderer: RendererType, selector: (s: string) => ContainerType)
src/runtime-core/createApp.ts:5
↓ 1 callers
Function
createCodegenContext
()
src/compiler-core/src/codegen.ts:118
↓ 1 callers
Function
createComponentInstance
(vnode: VNode, parent: Component)
src/runtime-core/component.ts:29
↓ 1 callers
Function
createContext
(content: string)
src/compiler-core/src/parse.ts:13
↓ 1 callers
Function
createRoot
(children)
src/compiler-core/src/parse.ts:19
↓ 1 callers
Function
createRootCodegen
(root)
src/compiler-core/src/transform.ts:11
↓ 1 callers
Function
createSetter
()
src/reactivity/baseHandlers.ts:38
↓ 1 callers
Function
createTextVNode
(text: string)
src/runtime-core/vnode.ts:57
↓ 1 callers
Function
createTransformContext
(root, options)
src/compiler-core/src/transform.ts:20
↓ 1 callers
Function
createVNodeCall
(context, tag, props, children)
src/compiler-core/src/ast.ts:12
↓ 1 callers
Function
finishComponentSetup
(instance: Component)
src/runtime-core/component.ts:98
↓ 1 callers
Function
genCompoundExpression
(node, context)
src/compiler-core/src/codegen.ts:55
↓ 1 callers
Function
genElement
(node, context)
src/compiler-core/src/codegen.ts:68
↓ 1 callers
Function
genExpression
(node, context)
src/compiler-core/src/codegen.ts:101
↓ 1 callers
Function
genFunctionPreamble
(ast, context)
src/compiler-core/src/codegen.ts:28
↓ 1 callers
Function
genInterpolation
(node, context)
src/compiler-core/src/codegen.ts:106
↓ 1 callers
Function
genNodeList
(nodes, context)
src/compiler-core/src/codegen.ts:77
↓ 1 callers
Function
genNullable
(args)
src/compiler-core/src/codegen.ts:97
↓ 1 callers
Function
genText
(node, context)
src/compiler-core/src/codegen.ts:113
↓ 1 callers
Function
getSequence
* 求最长递增子序列在原数组的下标数组 * @param arr {number[]} * @return {number[]}
src/runtime-core/render.ts:398
↓ 1 callers
Function
getShapeFlags
(type)
src/runtime-core/vnode.ts:61
↓ 1 callers
Function
handleSetupResult
(instance: Component, setupResult: Record<string, unknown>)
src/runtime-core/component.ts:88
↓ 1 callers
Function
hasChanged
(val, newVal)
src/shared/index.ts:17
↓ 1 callers
Function
helper
(name)
src/compiler-core/src/codegen.ts:127
↓ 1 callers
Function
initProps
(instance: Component, rawProps: VNode["props"])
src/runtime-core/componentProps.ts:4
↓ 1 callers
Function
initSlots
(instance: Component, children: VNode["children"])
src/runtime-core/componentSlots.ts:8
↓ 1 callers
Function
isEnd
(context: { source: string }, ancestors)
src/compiler-core/src/parse.ts:44
↓ 1 callers
Function
isFunction
(val: unknown)
src/shared/index.ts:15
↓ 1 callers
Function
isOn
(key: string)
src/runtime-dom/index.ts:10
↓ 1 callers
Function
isTracking
()
src/reactivity/effect.ts:77
↓ 1 callers
Function
mountComponent
(vnode: VNode, container: NormalNode, parentInstance: Component, anchor: AnchorType)
src/runtime-core/render.ts:335
↓ 1 callers
Function
mountElement
(n2: VNode, container: NormalNode, parentInstance: Component, anchor: AnchorType)
src/runtime-core/render.ts:288
↓ 1 callers
Function
newLine
()
src/compiler-core/src/codegen.ts:124
↓ 1 callers
Function
normalizeObjectSlots
(rawSlots: RawSlotsType, slots: Component["slots"])
src/runtime-core/componentSlots.ts:15
↓ 1 callers
Function
normalizeSlotValue
(slots: VNode | VNode[])
src/runtime-core/componentSlots.ts:22
↓ 1 callers
Function
parseElement
(context: { source: string }, ancestors)
src/compiler-core/src/parse.ts:89
↓ 1 callers
Function
parseInterpolation
(context: { source: string })
src/compiler-core/src/parse.ts:59
↓ 1 callers
Function
parseText
(context: { source: string })
src/compiler-core/src/parse.ts:114
↓ 1 callers
Function
patchChildren
(on1: OldVNodeType, n2: NewVNodeType, container: ContainerType, parentInstance: Component, anchor: AnchorType)
src/runtime-core/render.ts:85
↓ 1 callers
Function
patchElement
(on1: OldVNodeType, n2: NewVNodeType, parentInstance: Component, anchor: AnchorType)
src/runtime-core/render.ts:76
↓ 1 callers
Function
patchKeyedChildren
(c1: VNode[], c2: VNode[], container: ContainerType, parentInstance: Component, anchor: AnchorType)
src/runtime-core/render.ts:118
↓ 1 callers
Function
patchProps
(el: NormalNode, oldProps: Props, newProps: Props)
src/runtime-core/render.ts:265
↓ 1 callers
Function
processComponent
(n1: OldVNodeTypeWithNone, n2: NewVNodeType, container: NormalNode, parentInstance: Component, anchor: AnchorT
src/runtime-core/render.ts:313
↓ 1 callers
Function
processElement
(n1: OldVNodeTypeWithNone, n2: NewVNodeType, container: ContainerType, parentInstance: Component, anchor: Anch
src/runtime-core/render.ts:66
↓ 1 callers
Function
processExpression
(node)
src/compiler-core/src/transforms/transformExpression.ts:9
next →
1–100 of 197, ranked by callers