npm / react-map-gl
react-map-gl
What changed in react-map-gl 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
2 new APIs and options1 performance1 behavior and defaults5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-map-gl 89 changes
New APIs and options 2
Exports GlobeControl from the MapLibre entry point.
Adds GlobeControl for maplibre.
Performance 1
Declares published packages side-effect free so unused components can be tree-shaken.
Behavior and default changes 1
Adds support for MapLibre GL JS v6.
Fixes and other changes 5
Prevents an app-wide crash when terrain properties are undefined.
Calls MapLibre zoom and pitch constraint setters in a valid order.
Fixes a max depth exceeded error when map settings are changed dynamically.
Guards against undefined map.style when updating style components.
Invokes the setter with a default when a prop is missing.