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
toVnode里面添加
var instance = new Type(props, context) //必须在这里添加vnode,因为willComponent里可能进行setState操作 instance.vnode = vnode Component.call(instance, props, context) //重点!!
React.js里面添加
transaction.isInTransation = true var root = toVnode(vnode, {}) transaction.isInTransation = false
Component.js的updateComponentProxy
if (!instance.vnode.dom) { var parentNode = instance.container instance.state = this.state //将merged state赋给它 toDOM(instance.vnode, instance.context, parentNode) } else {
The text was updated successfully, but these errors were encountered:
Merge pull request #2 from RubyLouvre/branch3
777e9b4
Branch3
No branches or pull requests
toVnode里面添加
React.js里面添加
Component.js的updateComponentProxy
The text was updated successfully, but these errors were encountered: