Skip to content
New issue

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

关于如何区分更新与初始化过程是说法,个人感觉有误 #5

Open
nisandaye opened this issue Nov 10, 2021 · 1 comment

Comments

@nisandaye
Copy link

源码中是通过current的alternate属性判断workInProgress是否为null。而不是current是否为空吧?

@neroneroffy
Copy link
Owner

源码中是通过current的alternate属性判断workInProgress是否为null。而不是current是否为空吧?

您说的是beginWork那里吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants