tomchentw / react-google-maps

React.js Google Maps integration component
https://tomchentw.github.io/react-google-maps/
MIT License
4.62k stars 939 forks source link

React Version #1083

Open 7JoeEdwards opened 2 years ago

7JoeEdwards commented 2 years ago

Is there any scope to add support for the latest version of React? Getting @types/react@"^15.0.0 || ^16.0.0" from react-google-maps@9.4.5 when installing.

MitchellQ commented 2 years ago

See issue #1071

tldr: react-google-maps@9.4.5 is unmaintained and will not work with newer versions of react use @react-google-maps/api instead.

xpyrosh commented 2 years ago

I tried installing react-google-maps/api and that's also returning dependency errors, any suggestions?

npm ERR! peer react@"^16.6.3 || ^17.0.0" from @react-google-maps/api@2.8.1

taboradeyvi commented 1 year ago

Thanks @MitchellQ