zcreativelabs / react-simple-maps

Beautiful React SVG maps with d3-geo and topojson using a declarative api.
https://www.react-simple-maps.io/
MIT License
3.12k stars 426 forks source link

Add React ^18 Support #284

Closed kennethbigler closed 2 years ago

kennethbigler commented 2 years ago

It would be great to add ^18.0.0 as an option for react as a peerDependency.

zeromero-dev commented 2 years ago

@kennethbigler they merged my pull request which allows the support of React 18.x You can safely close the issue.

enricoros commented 2 years ago

@kennethbigler they merged my pull request which allows the support of React 18.x You can safely close the issue.

This is great news! But when is this going to be released, or how can we use your code now?

kennethbigler commented 2 years ago

@zeromero-dev I agree with @enricoros, it is not released so I definitely can't consider it closed.

zimrick commented 2 years ago

The new v3 beta should support react 18. You can try it out with npm install react-simple-maps@beta.