Leaflet exposes its own events, different from React. You can listen to them using React-Leaflet by adding a callback to a property prefixed by
The event name is normalized, so the above example would work using the
onMoveEnd or another naming preference for the property.
Check 🍃 Leaflet's documentation for the events associated to each component.