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

[Bug Report] ArrayTable加载10w+数据场景,操作数据明显卡顿 #4203

Open
1 task
Gllidan opened this issue Aug 14, 2024 · 1 comment
Open
1 task

Comments

@Gllidan
Copy link

Gllidan commented Aug 14, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 添加10w数据

  2. 操作数据头部数据,在输入、添加、删除、移动操作下,明显渲染卡顿

What is expected?

  1. 与antd4版本一致,流畅渲染

What is actually happening?

卡顿

Package

@formily/[email protected]


@Gllidan
Copy link
Author

Gllidan commented Aug 14, 2024

image
3 * 10w的可编辑字段,在排序时阻塞3s多
看执行栈内部包含全量的值比对、notify创建、observable创建、get逻辑

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

1 participant