-
Notifications
You must be signed in to change notification settings - Fork 8
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
为何table设置value后会执行2次渲染? #10
Comments
maybe same problem? see: ant-design/ant-design#33942 |
发现是MyTable代码中的这行导致的2次渲染: |
@JSchmidt63 一个是整个组件渲染2次,发现应该是代码里面在给value设置_expand等属性导致的,还有就是onCell渲染2次整体导致非常卡顿 |
@JSchmidt63 有什么好的建议,在MyTable内部执行getRecursiveRow后避免2次渲染? |
@JSchmidt63 |
@wittech 我觉得你这个方案可以,提个PR,我合并进去 |
好的我整理一下 |
为何table设置value后会执行2次渲染?性能不太理想啊
The text was updated successfully, but these errors were encountered: