react-component / react-component/table

Lags when expand row with many childs

Open
#524 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
618
Avg merge
10h 19m
Merged PRs (30d)
2

Description

https://codesandbox.io/s/tender-clarke-iq2pk?file=/src/App.js - Example

Steps:
Create table
Add to row many children
Click to expand icon

Delay in 5s in sandbox, in my app with custom render function - 10s

All application does not work in 5s. Can we fix it? Maybe can add some loader icon when data rendering

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CodeSandbox at src/App.js and reproduce the delay by expanding a row with many children. Compare rendering with and without the custom render function, then define done as eliminating or materially reducing the reported freeze while preserving row expansion behavior.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.