-
-
Notifications
You must be signed in to change notification settings - Fork 478
chore: optimize multiple onChange performence #499
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
chore: optimize multiple onChange performence #499
Conversation
@zombieJ 改好了,现在新加了一个hook在组件内部存储 还有一种就是新加的hook直接返回一个 我比较倾向于第二种。 |
性能提升有多少,拿一下数据看看。 |
稳妥起见,我发一个 minor,antd 里升级一下。 |
改挂了,rc-tree-select 依赖了 rc-select minor 版本,使用了里面 getLabeledValue 和 generateSelector 方法。我先回滚了。 @kermit-xuan 再看看。 |
@afc163 我看了要优化的话,必须要动 |
还有AutoComplete 等,具体搜索一下代码 |
#22822