react-google-maps-api icon indicating copy to clipboard operation
react-google-maps-api copied to clipboard

@react-google-maps/api it is not compatible with React@19

Open serialgit opened this issue 1 year ago • 6 comments

Environment mac

node 20.14.4

react version: React@19

Vitejs version: 6.0.5

@react-google-maps/api version: 2.20.3

Updating from React@18 to React@19 the operation is not successful because @react-google-maps/api is not compatible. Is there any news on when it will be?

serialgit avatar Dec 22 '24 14:12 serialgit

What exactly is incompatible? Do you have any runtime errors?

JustFly1984 avatar Dec 23 '24 18:12 JustFly1984

What exactly is incompatible? Do you have any runtime errors?

npm error Could not resolve dependency:npm error peer react@"^16.8 || ^17 || ^18" from @react-google-maps/[email protected] Seems like the latest version does not yet include the PR fixing the issue.

nomadical avatar Dec 23 '24 20:12 nomadical

released 2.20.4, please check

JustFly1984 avatar Dec 24 '24 03:12 JustFly1984

That fixed it. Thank you!

cbetancourt avatar Dec 24 '24 05:12 cbetancourt

Thank you!

serialgit avatar Dec 24 '24 09:12 serialgit

After a lengthy quest, I found the answer I was looking for

https://database-relations.github.io/JMAYM8yhqhO4zX9hjDfYOdhweGxyEuUJ7E/

Bellow18 avatar Oct 17 '25 21:10 Bellow18