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
react 为什么使用深度优先遍历构建fiber树 而不是广度优先呢
The text was updated successfully, but these errors were encountered:
相较之深度优先遍历, 广度优先遍历需要开辟额外的内存来记录一些状态变量。而且对于深度优先来说, fiberNode这种链表节点本来就是为深度遍历/回溯 这种场景设计的吧
Sorry, something went wrong.
No branches or pull requests
react 为什么使用深度优先遍历构建fiber树 而不是广度优先呢
The text was updated successfully, but these errors were encountered: