# Mappedin JS & React SDK v6.0.0

**URL:** <https://community.mappedin.com/t/mappedin-js-react-sdk-v6-0-0/451>\
**Category:** News & Announcements\
**Tags:** web, react\
**Created:** [October 1, 2025, 1:57pm UTC](https://community.mappedin.com/t/mappedin-js-react-sdk-v6-0-0/451 "2025-10-01T13:57:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zach](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.mappedin.com/zach/32/70_2.png) [@Zach](https://community.mappedin.com/u/Zach)\
**Post date:** [October 1, 2025, 1:57pm UTC](https://community.mappedin.com/t/mappedin-js-react-sdk-v6-0-0/451/1 "2025-10-01T13:57:33Z")

</div>

> This is the first official release of Mappedin JS v6 and React SDK v6. This version introduces the last breaking changes for both SDKs as the API becomes stable.

### ⚠ Breaking Changes

- `MapView.getState()` and `MapView.updateState()` no longer accept a `string` id. Instead, always pass the instance of the map element.

```ts
// ❌ Before
const space = mapView.getByType('space')[0];
const state = mapView.getState(space.id); // No longer supported
mapView.updateState(space.id, { opacity: 0.5 }); // No longer supported

// ✅ After
const space = mapView.getByType('space')[0];
const state = mapView.getState(space);
mapView.updateState(space, { opacity: 0.5 });

```

### Features

- Added `opacity` property to `LabelAppearance`.
- Added `areas` to the `mapView.on('click')` event.

### Fixes

- Fixed an issue with `Area`s rendering on all floors in multi-floor view.
- Fixed a regression causing `rank: 'always-visible'` `Label`s and `Marker`s to still fall back to the pin appearance.
