Can't call setState (or forceUpdate) on an unmounted component
Open
- Dominant language
- JavaScript
- Stars
- 827
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
I'm getting this error:
Warning: Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in Spring (created by Transition)
Any thoughts?
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by reproducing the warning in the Spring component used by Transition and trace what remains active after unmount; done means the warning no longer appears when the grid enters or exits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100