We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
以下是Nerv.render执行后,会发生的事情
Nerv.render(组件,真实dom)后,mountVNode函数执行,createElement(组件)
(重点:Lifecycle.ts主要是组件更新的整个流程
如果是组件,执行组件的init方法(其它类型节点有其自己的处理方式),mountComponent执行。(打标1)
以下是挂载组件的流程
更新组件的流程
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Nerv源码阅读简记
以下是Nerv.render执行后,会发生的事情
Nerv.render(组件,真实dom)后,mountVNode函数执行,createElement(组件)
(重点:Lifecycle.ts主要是组件更新的整个流程
如果是组件,执行组件的init方法(其它类型节点有其自己的处理方式),mountComponent执行。(打标1)
以下是挂载组件的流程
更新组件的流程
The text was updated successfully, but these errors were encountered: