treemapper icon indicating copy to clipboard operation
treemapper copied to clipboard

Get rid of warning by upgrading to next react-native-mapbox-gl version released

Open norbertschuler opened this issue 3 years ago • 0 comments

WARN  EventEmitter.removeListener('MapboxUserLocationUpdate', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.addListener`.

ERROR  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.
    in MainScreen (at SceneView.tsx:130)

This should be fixed with the next release of Mapbox: https://github.com/react-native-mapbox-gl/maps/issues/1594

norbertschuler avatar Nov 21 '21 12:11 norbertschuler