github PaulLeCam/react-leaflet v4.0.0-alpha.1

latest releases: v5.0.0-rc.1, v4.2.1, v4.2.0...
pre-release2 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 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

Don't miss a new react-leaflet release

NewReleases is sending notifications on new releases.