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
<ReactMapGL /> internally calls setState after the component is unmounted, triggering a React warning like this:
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 the componentWillUnmount method.
in InteractiveMap
You can reproduce this issue by putting a basic map like this on a page:
<ReactMapGL />
internally callssetState
after the component is unmounted, triggering a React warning like this:You can reproduce this issue by putting a basic map like this on a page:
Then from another page, quickly navigate to the page and back again within a few seconds.
The text was updated successfully, but these errors were encountered: