
获得徽章 0
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
赞了这篇文章
processComponent in general
1. mountComponent 2. createComponentInstance 3. createAppContext 4. setupComponent 5. initProps -> reactive component.type.props 6. setupRenderEffect -> ReactiveEffect -> vnode mount -> collect dep 7. componentUpdateFn 8. queueJob -> scheduler -> batchUpdate 9. updateComponent 10. updateProps -> instance.props.key=newVal -> updateComponentFn
1. mountComponent 2. createComponentInstance 3. createAppContext 4. setupComponent 5. initProps -> reactive component.type.props 6. setupRenderEffect -> ReactiveEffect -> vnode mount -> collect dep 7. componentUpdateFn 8. queueJob -> scheduler -> batchUpdate 9. updateComponent 10. updateProps -> instance.props.key=newVal -> updateComponentFn
展开
5
1