v4.0.0-alpha.1
Pre-release
Pre-release
PaulLeCam
released this
05 Feb 12:23
·
35 commits
to master
since this release
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).
- Updated docs for v4 support.