Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React 19 Compatibility #367

Open
samrobbins85 opened this issue Dec 19, 2024 · 1 comment
Open

React 19 Compatibility #367

samrobbins85 opened this issue Dec 19, 2024 · 1 comment

Comments

@samrobbins85
Copy link

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

@madmaxaus
Copy link

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"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants