# What changed in react-native-safe-area-context

> 9 changes in react-native-safe-area-context 5 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/react-native-safe-area-context/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## react-native-safe-area-context 5

### New APIs and options

- The component exposes a ref to the underlying View, allowing developers to access that View. (5.10.0) — [release notes](https://github.com/appandflow/react-native-safe-area-context/releases/tag/v5.10.0)

### Behavior and default changes

- Nested SafeAreaProvider instances on web now report their own frame and insets. (5.9.0) — [release notes](https://github.com/appandflow/react-native-safe-area-context/releases/tag/v5.9.0)

### Fixes and other changes

- Declares the SwiftPM package name in package.json. (5.10.1) — [release notes](https://github.com/appandflow/react-native-safe-area-context/releases/tag/v5.10.1)
- Registers src/paper/java as a Java source set on the old architecture, fixing the associated build issue. (5.9.1) — [release notes](https://github.com/appandflow/react-native-safe-area-context/releases/tag/v5.9.1)
- Avoids NotFoundError when the measurement element is already detached. (5.9.0) — [release notes](https://github.com/appandflow/react-native-safe-area-context/releases/tag/v5.9.0)
- On web, insets and frame are updated when the window is resized. (5.9.0) — [release notes](https://github.com/appandflow/react-native-safe-area-context/releases/tag/v5.9.0)
- Fabric SafeAreaView no longer updates state while detached from the window. (5.8.1) — [release notes](https://github.com/appandflow/react-native-safe-area-context/releases/tag/v5.8.1)
- SafeAreaView now respects the edges parameter on web. (5.7.0) — [release notes](https://github.com/appandflow/react-native-safe-area-context/releases/tag/v5.7.0)
- Adds the missing event dispatcher for tvOS and macOS in the legacy architecture. (5.6.2) — [release notes](https://github.com/appandflow/react-native-safe-area-context/releases/tag/v5.6.2)
