github PaulLeCam/react-leaflet v2.0.0-beta.1

latest releases: v4.2.1, v4.2.0, v4.1.0...
pre-release5 years ago

First beta for v2, with a few breaking changes. Plugins and custom components will likely need to be updated to use the new context API.

It can be installed from npm using the next tag: yarn add react-leaflet@next.
A new CodePen is also available: https://codepen.io/PaulLeCam/pen/gzVmGw

Changes

  • [BREAKING] Updated React dependency to v16.3.
  • [BREAKING] Replaced React context usage with new APIs introduced in React v16.3.
  • [BREAKING] Removed PropTypes.
  • [BREAKING] Dropped support for IE < 11.
  • React Portals are now used to render the DivOverlay and therefore Popup and Tooltip components, enabling context propagation (PR #475 by hannesj).
  • Replaced wrapping div elements with Fragment.

Don't miss a new react-leaflet release

NewReleases is sending notifications on new releases.