Autodesk / Autodesk/react-base-table
Can't perform a React state update on an unmounted component
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 170
- PR merge metrics
- No merged PRs in 30d
Description
Seems that the debounced `this._updateRowHeights` needs to be cancelled if the component unmounts
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the repository for the debounced `this._updateRowHeights` method and inspect how the component handles unmounting. Verify the reported warning scenario, then ensure the pending debounced work is cancelled when the component unmounts and confirm that no update occurs afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100