Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Peer dependencies

Choose a tag to compare

@tomwayson tomwayson released this 15 Oct 02:15
· 42 commits to master since this release
8e20876

react-arcgis now declares esri-loader and React as peer dependencies, which means you can (and must) use the versions of those libraries that are already installed in your app. This means it will work with a wider range of versions of those libraries.

Changed

  • document how to configure esri-loader via loaderOptions

Breaking

  • react-arcgis now declares React and esri-loader as peer dependencies
  • react-arcgis no longer exports loadModules nor esriPromise

If you're upgrading from v4.x of react-arcgis, see the v5 migration guide.