mini-vue
2023-06-03 18:06:41 0 举报
mini-vue源码阅读。
作者其他创作
大纲/内容
patch()
initProps()
5
setup()
返回1
getShapFlay()
createRenderer()
finishComponentSetup()
setCurrentInstance()
ReactiveEffect()
render()
1
createApp()
normalizeChildren()
shallowReadonly()
返回3
run()
返回3结束,调用
mount()
2
initSlots()
setupRenderEffect()
ensureRenderer()
Mini-vuecreateApp(App).mount(rootContainer);
createApp(…args)
setupComponent()
handleSetupResult()
返回4
createSetupContext()
createVNode()
setupStatefulComponent()
processComponent()
componentUpdateFn()
mountComponent()
6
3
createComponentInstance()
createReactiveObject()
effect()
返回2
4
createAppAPI()
0 条评论
下一页