Autodesk / Autodesk/react-base-table

TableRow rerenders on scroll

Open
#305 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.5k
Forks
170
PR merge metrics
No merged PRs in 30d

Description

TableRow rerenders when scrolling. This can be seen using React Dev Tools with Higlighting option on on every example react-base-table provides.

WhyDidYouRender says TableRow recieved new style object which has the same values inside.

v 1.12.0

Contributor guide

Open the contributing guide

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

Reproduce the issue in the react-base-table examples with React DevTools highlighting enabled, using version 1.12.0. Start by locating TableRow and inspect why scrolling supplies a new style object with unchanged values; use WhyDidYouRender to confirm the behavior. Done means TableRow no longer rerenders unnecessarily while scrolling through the examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.