vue3.0
2021-11-27 14:15:43 6 举报
解析
作者其他创作
大纲/内容
新节点
mountStaticNode
COMPONENT (processComponent)
Fragment (processFragment)
mountElement
SUSPENSE (SuspenseImpl.process)
旧节点
runtime-dom (createApp)
finishComponentSetup (compile template)
节点不同
hydrate
节点相同
patchElement
processCommentNode / setupRenderEffect
createVNode
keep alive / mountComponent
runtime-core (createRenderer)
type
!!n1
patch
TELEPORT (TeleportImpl.process)
删除旧节点
n1=null
apiCreateApp (createAppAPI)
render
Comment (processCommentNode)
mount
Static
updateComponent
ELEMENT (processElement)
text (processText)
runtime-core (baseCreateRenderer)
patchStaticNode
0 条评论
下一页