google-maps-react-hooks
google-maps-react-hooks copied to clipboard
Google Maps JavaScript API async load help required.
Hi I am this package in some of my projects. I find this package underrated, anyway need help for below issues:
-
Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading The above issue may cause rendering problem when deployed to the server sometimes.
-
(optional) As of February 21st, 2024, google.maps.Marker is deprecated. Please use google.maps.marker.AdvancedMarkerElement instead. Please see https://developers.google.com/maps/deprecations for deprecation details.
+1 for the loading=async.