- Using Intersection Observer
- Using Google Static Map instead of a dynamic map
- Prevent map from loading fonts
- Using Static Map placeholder and loading a dynamic map on click
REACT_APP_MAPS_KEY=<YOUR_KEY> yarn start
A list of tricks to optimize google maps script with working code demos
TypeScript
REACT_APP_MAPS_KEY=<YOUR_KEY> yarn start