Skip to content

v4.0.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@PaulLeCam PaulLeCam released this 05 Feb 12:23
· 35 commits to master since this release
v4.0.0-alpha.1
e48128e

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 the MapContainer component.
  • Removed onOpen and onClose properties from Popup and Tooltip components.
  • Removed CommonJS distribution.
  • Removed UMD distribution.

Other changes

  • Added support for React v18 (concurrent mode).
  • Added support for ref in the MapContainer and Pane components.
  • The created element and context objects are now frozen (immutable).
  • Updated docs for v4 support.

Links