You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error happens in our app when a component using use-measure is unmounted due to a resize:
use-measure.js:46: Warning: Can't perform a React state update 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 a useEffect cleanup function.
use-measure@0.2.2
This error happens in our app when a component using
use-measure
is unmounted due to a resize:Line 46 maps to the
setContentRect(entry.contentRect)
call inside the rAF closure. I'm guessing the rAF request isn't cancelled in time?The text was updated successfully, but these errors were encountered: