finds.dev← search

// the find

JustFly1984/react-google-maps-api

★ 1,970 · TypeScript · MIT · updated May 2026

React Google Maps API

React wrapper around the Google Maps JavaScript API, providing declarative components for maps, markers, overlays, directions, clustering, and most of the Maps API surface. Targets React developers who need to embed Google Maps without manually managing the Maps SDK lifecycle. Version 3.x just went commercial.

The hooks-based loader (`useJsApiLoader`) handles the async script injection and prevents double-loading cleanly — this is the part everyone gets wrong when doing it manually. TypeScript coverage is solid; the component props map closely to the underlying Maps API options, so you're not fighting a leaky abstraction. Tree-shaking works: you can import just `GoogleMap` and `Marker` without pulling in the full bundle. The companion packages (InfoBox, MarkerClusterer) are separately versioned, so you don't get clustering bloat if you don't need it.

Version 3.x is now commercial software — that's a significant catch buried in the README with no pricing listed publicly, which is a red flag for anyone planning long-term adoption. The old v2 is still on npm and GitHub but effectively unmaintained, so you're choosing between a licensing commitment and a dead codebase. The `Marker` component wraps the deprecated legacy Marker class; Google's newer AdvancedMarkerElement doesn't appear to be a first-class citizen here yet. The documentation site is hosted on an unfamiliar domain (`ospm.app`) and the Slack invite link in the README looks stale.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →