-
Notifications
You must be signed in to change notification settings - Fork 543
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
关于effectList 单向链表的使用已经被react废弃掉了 #41
Comments
请问一下,为啥effectList 单向链表被废弃了 另外,这个PR只是被合并到了master分支。并没有说合并进了具体的某个版本的分支。 |
感谢反馈 |
17版本已经使用了,具体原因我这边也还不清楚。 |
由于某些性能指标下降, |
我看react18中也已经弃掉effectList,未恢复回effectList |
我看react18中也已经弃掉effectList,未恢复回effectList |
为啥要废弃?有老哥研究了吗? |
看代码React 18中使用了 |
的确。effectList废弃了 |
小书原文描述位置:https://react.iamkasong.com/process/completeWork.html#effectlist
react官方commit更改信息:Remove remaining references to effect list #19673
We no longer use the effect list anywhere in our implementation. It's been replaced by a recursive traversal in the commit phase.
This removes all references to the effect list in the new fork.
希望能将该内容更新
The text was updated successfully, but these errors were encountered: