atomiclabs / atomiclabs/hyperdex
Memory leak related to the tooltip component
- Dominant language
- JavaScript
- Stars
- 151
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
- Open the app
- Click `+`
- Click "Create New Portfolio"
- Go through the flow
- After it's logged in, the following error is printed in DevTools:
```
warning.js:33 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 InnerPopper
in Popper (created by Tooltip)
in Manager (created by Tooltip)
in Tooltip (created by CreatePortfolioStep2)
in div (created by CreatePortfolioStep2)
in div (created by CreatePortfolioStep2)
in div (created by CreatePortfolioStep2)
in div (created by CreatePortfolioStep2)
in CreatePortfolioStep2 (created by View)
in View (created by LoginView)
in LoginView (created by Consumer)
in Consumer (created by Subscribe)
in Subscribe (created by CreatePortfolio)
in CreatePortfolio (created by LoginViews)
in LoginViews (created by Consumer)
```
@kevva Looks like the tooltip is not properly being cleaned up.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.