ant-design / pro-editor

🕹️ The Ultimate Editor UI Framework and Components
https://pro-editor.antdigital.dev
MIT License
199 stars 25 forks source link

数据量大时,SortableTree非常的卡顿 #111

Closed johnnychengchj123 closed 8 months ago

johnnychengchj123 commented 9 months ago

node16 react18 代码如下 index.md 展开和收起时,要卡几秒.....

arvinxx commented 9 months ago

能否给出一个可复现 demo?我们做下测试

ONLY-yours commented 9 months ago

来个 CodeSandBox 看看呢

johnnychengchj123 commented 9 months ago

能否给出一个可复现 demo?我们做下测试

这个链接哈,我这里电脑巨卡无比.....我真实情况下,treeData真需要这么大的..... https://codesandbox.io/p/sandbox/long-water-d8hlst?file=%2Fsrc%2FApp.js%3A3934%2C23

arvinxx commented 9 months ago

能否给出一个可复现 demo?我们做下测试

这个链接哈,我这里电脑巨卡无比.....我真实情况下,treeData真需要这么大的..... https://codesandbox.io/p/sandbox/long-water-d8hlst?file=%2Fsrc%2FApp.js%3A3934%2C23

了解了,可能得研究下做虚拟化

johnnychengchj123 commented 9 months ago

能否给出一个可复现 demo?我们做下测试

这个链接哈,我这里电脑巨卡无比.....我真实情况下,treeData真需要这么大的..... https://codesandbox.io/p/sandbox/long-water-d8hlst?file=%2Fsrc%2FApp.js%3A3934%2C23

了解了,可能得研究下做虚拟化

请问这块的优化, 有什么后续排期计划嘛..........😄

ONLY-yours commented 9 months ago

能否给出一个可复现 demo?我们做下测试

这个链接哈,我这里电脑巨卡无比.....我真实情况下,treeData真需要这么大的..... https://codesandbox.io/p/sandbox/long-water-d8hlst?file=%2Fsrc%2FApp.js%3A3934%2C23

了解了,可能得研究下做虚拟化

请问这块的优化, 有什么后续排期计划嘛..........😄

有的,我们在考虑是在组件里面加,还是提供一个 demo, 整一整这个,提供一个方案 @rdmclin2

johnnychengchj123 commented 9 months ago

能否给出一个可复现 demo?我们做下测试

这个链接哈,我这里电脑巨卡无比.....我真实情况下,treeData真需要这么大的..... https://codesandbox.io/p/sandbox/long-water-d8hlst?file=%2Fsrc%2FApp.js%3A3934%2C23

了解了,可能得研究下做虚拟化

请问这块的优化, 有什么后续排期计划嘛..........😄

有的,我们在考虑是在组件里面加,还是提供一个 demo, 整一整这个,提供一个方案 @rdmclin2

👏🏻👏感谢.....不知道2024.1.1可以优化好嘛....

github-actions[bot] commented 8 months ago

:tada: This issue has been resolved in version 0.37.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

rdmclin2 commented 8 months ago

@johnnychengchj123 已支持虚拟滚动