React Leaflet
JSON →React Leaflet provides React components that wrap the Leaflet map library, offering a declarative way to integrate interactive maps into React applications. It abstracts Leaflet's imperative API into a set of composable React components, making it easier to manage map state and layers. The current stable version is 5.0.0, which requires React v19 and Leaflet v1.9.0 as peer dependencies. The library generally follows the major version releases of React and Leaflet, introducing breaking changes when these core dependencies update significantly. Its primary differentiator is providing a idiomatic React experience for Leaflet, avoiding direct DOM manipulation often associated with Leaflet's vanilla JavaScript API, and offering a robust, type-safe (TypeScript-friendly) development experience for geospatial applications within the React ecosystem.
Traffic · last 30 days ↓50% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany