ant-design / ant-design/pro-components

ProTable每页展示数据量过大后,性能问题🐛[BUG]

Open
#8,149 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🐛 bug 描述
分页展示500条数据,渲染特别慢,渲染出来之后,行数据有点击打开Modal的按钮,点击后需要4s+才能打开Modal,打开之后关闭还需要4s+

### 📷 复现步骤
![image](https://github.com/ant-design/pro-components/assets/111224651/9fdb2267-823d-4af6-b449-25be92acbfee)
点击题目,会弹出弹出框,需要很长时间展开,点击关闭还是需要很长时间

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the ProTable case with 500 rows, including opening and closing the row's title modal, and measure the slow interactions. Trace the ProTable and modal entry points implicated by that reproduction; done means the large-page rendering and modal open/close delays are reduced and the scenario is covered by a regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.