# useInAppNotificationsState

`useInAppNotificationsState` manages in-app notification state: open/close and the notifications list.

## Best Practices

- Use this hook as the single source of truth for in-app notification state.
- Avoid duplicating notification lists in local state.
- Keep open/close actions lightweight to avoid UI delays.
- Limit notification list size for performance.
- Clear notifications when the user navigates to the relevant screen.

## Usage

```tsx
const { openInAppNotification, closeInAppNotification, notifications } =
  useInAppNotificationsState();
```


---

This page was last updated at 2026-04-21T07:55:42.073Z.

For the most recent version of this documentation, visit [https://getstream.io/chat/docs/sdk/react-native/v8/ui-components/in-app-notifications/hooks/use-in-app-notifications-state/](https://getstream.io/chat/docs/sdk/react-native/v8/ui-components/in-app-notifications/hooks/use-in-app-notifications-state/).