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
class Vue { constructor(options) { this._data = options.data; observer(this._data, options.render); let watcher = new Watcher(this, ); // 这括号里是没写完吗 } }
The text was updated successfully, but these errors were encountered:
这里应该是实例化一个渲染watcher,在watcher里面会执行updateComponent回调
Sorry, something went wrong.
我也觉得依赖收集这里代码不完整,还有Dep.target=null的执行位置是不是不对?
这里应该也是要传一个options.render吧
new Watcher(this, null, options.render)
No branches or pull requests
The text was updated successfully, but these errors were encountered: