Replace react-input-range (not compatible with React 18) with react-compound-slider
Upgrade to Leaflet 1.9.4
Upgrade to React Leaflet 4.0.0 (see note 2 below)
Upgrade to pcic-react-leaflet-components 3.0.1 (see note 2 below)
Upgrade several support/utility packages to latest (some were far out of date)
Flatten code hierarchy
Install craco and react-app-alias to enable use of @ aliases in this repo. This simplifies JS package imports a lot.
Improve documentation
Remove some run-time warnings (because why not)
Notes:
This work has reduced but not entirely eliminated many of the npm warnings. I think the remainder are caused by dependencies' shortcomings; see note 2.
pcic-react-leaflet-components is responsible for holding back the update to React Leaflet >4.0.0 (specifically, 4.2.0). There is a known problem with React Leaflet and so far it has not been solved for our package. For the present moment we are stuck with a hard pin to 4.0.0. Work is ongoing in pcic-react-leaflet-components.
Resolves #99
Changes:
react-input-range
(not compatible with React 18) withreact-compound-slider
pcic-react-leaflet-components
3.0.1 (see note 2 below)craco
andreact-app-alias
to enable use of @ aliases in this repo. This simplifies JS package imports a lot.Notes:
pcic-react-leaflet-components
is responsible for holding back the update to React Leaflet >4.0.0 (specifically, 4.2.0). There is a known problem with React Leaflet and so far it has not been solved for our package. For the present moment we are stuck with a hard pin to 4.0.0. Work is ongoing inpcic-react-leaflet-components
.