zcreativelabs/react-simple-maps

React 19 Compatibility

Opened this issue · 1 comments

In the peer dependencies there is only compatibility up to React 18, would it be possible to include React 19 so that this can be installed in a React 19 app

i added the following to my package.json and it seems to work and update without warnings:

"overrides": {
"react-simple-maps": {
"d3-geo": "^3.1.0",
"d3-color": "^3.1.0",
"d3-selection": "^3.0.0",
"d3-zoom": "^3.0.0",
"react": "^16.8.0 || 17.x || 18.x || 19.x",
"react-dom": "^16.8.0 || 17.x || 18.x || 19.x"
},
"d3-interpolate": {
"d3-color": "^3.1.0"
},
"d3-transition": {
"d3-color": "^3.1.0"
},
"@types/react": "19.0.2",
"@types/react-dom": "19.0.2"
}