react-leaflet v4.0.0-alpha.0 Release Notes
Release Date: 2022-01-05 // about 2 years ago-
๐ฅ Breaking changes
- React v18 is now required as peer dependency.
- ES2020 is the new compilation target version.
- โ Removed
useMapElement
hook. - โ Removed
MapConsumer
component. - โ Removed
whenCreated
property from theMapContainer
component. - โ Removed
onOpen
andonClose
properties fromPopup
andTooltip
components. - โ Removed CommonJS distribution.
- โ Removed UMD distribution.
Other changes
- โ Added support for React v18 (concurrent mode).
- โ Added support for
ref
in theMapContainer
andPane
components. - The created element and context objects are now frozen (immutable).