Closed fsmaia closed 6 years ago
This PR closes #21 by adding suggested snippet to proper clean unmounting.
Without this fix, a new empty control is generated in every rerendering.
I am running into this as well. Can we merge this?
v2.0.0 is out now. We now rely on react-leaflet's MapControl to unmount for us.
react-leaflet
This PR closes #21 by adding suggested snippet to proper clean unmounting.
Without this fix, a new empty control is generated in every rerendering.