jayphelps / jayphelps/react-observable-subscribe
Question: Unsubscribe?
- Dominant language
- JavaScript
- Stars
- 134
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Do `` elements automatically unsubscribe on componentWillUnmount?
I'm getting these errors while unmounting:
`Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. Please check the code for the Subscribe component.`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the component and its componentWillUnmount behavior, then reproduce the reported warning during unmounting. Determine whether subscriptions are cleaned up as expected; done when the unmount behavior is clear and the warning no longer occurs or its cause is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100