Installing react-simple-maps in a React 19 project currently fails with npm dependency resolution because the package's peer dependency only allows React up to 18.
Environment
react: 19.2.4
react-dom: 19.2.4
react-simple-maps: 3.0.0
npm: latest/default npm resolver
Reproduction
npm install react-simple-maps
Current behavior
npm fails with:
ERESOLVE unable to resolve dependency tree
Found: react@19.2.4
Could not resolve dependency:
peer react@"^16.8.0 || 17.x || 18.x" from react-simple-maps@3.0.0
Expected behavior
react-simple-maps should be installable in React 19 projects if the library is compatible with React 19.
Request
Could the peer dependency range be updated to include React 19?
For example:
{
"peerDependencies": {
"react": "^16.8.0 || 17.x || 18.x || 19.x",
"react-dom": "^16.8.0 || 17.x || 18.x || 19.x"
}
}
This would help React 19 / Next.js projects use react-simple-maps without needing --force, --legacy-peer-deps, or local overrides.
I found one override hack in #367, having official React 19 peer support would be neat!
Installing
react-simple-mapsin a React 19 project currently fails with npm dependency resolution because the package's peer dependency only allows React up to 18.Environment
Reproduction
Current behavior
npm fails with:
ERESOLVE unable to resolve dependency tree Found: react@19.2.4 Could not resolve dependency: peer react@"^16.8.0 || 17.x || 18.x" from react-simple-maps@3.0.0Expected behavior
react-simple-mapsshould be installable in React 19 projects if the library is compatible with React 19.Request
Could the peer dependency range be updated to include React 19?
For example:
{ "peerDependencies": { "react": "^16.8.0 || 17.x || 18.x || 19.x", "react-dom": "^16.8.0 || 17.x || 18.x || 19.x" } }This would help React 19 / Next.js projects use
react-simple-mapswithout needing--force,--legacy-peer-deps, or localoverrides.I found one override hack in #367, having official React 19 peer support would be neat!