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

[Table] 减少不必要的rerender #1688

Closed
jsonz1993 opened this issue Nov 9, 2022 · 3 comments
Closed

[Table] 减少不必要的rerender #1688

jsonz1993 opened this issue Nov 9, 2022 · 3 comments

Comments

@jsonz1993
Copy link
Contributor

tdesign-react 版本

0.42.6

重现链接

https://codesandbox.io/s/tdesign-react-demo-forked-58116l

重现步骤

左右滑动表格,即使在中间的区域,也会一直触发rerender

期望结果

减少不必要的rerender,表格页面复杂会有性能问题,我理解应该是表格在中间滚动的时候,没有触发左右冻结列的变化,应该不需要rerender。

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2022

👋 @jsonz1993,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2022

♥️ 有劳 @yunfeic @tengcaifeng @Yacent @basecss 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @jsonz1993

@chaishi
Copy link
Collaborator

chaishi commented Nov 9, 2022

可以尝试提个 PR

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