react-popover
react-popover copied to clipboard
setState errors on navigation
Hi @jasonkuhrt, I keep seeing these errors in the console every time I navigate or the parent component (that contains the Popover) unmounts.
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 Tooltip (at LoggedInNav.js:94)
in div (created by styled__NavSection)
in styled__NavSection (at LoggedInNav.js:93)
in nav (created by styled__NavBar)
in styled__NavBar (at LoggedInNav.js:78)
in LoggedInNav (at GeneralHeaderNav.js:126)
in GeneralHeaderNav (created by Connect(GeneralHeaderNav))
in Connect(GeneralHeaderNav) (at StandardPage.js:49)
Seems like it is happening within this library - thoughts on how best to fix this
Thank you!
@jasonkuhrt FYI, this is happening even with the latest versions of the library. Any ideas what might be going on?
@jasonkuhrt Ping - any ideas what might be happening here?