const { notifications } = useClientNotifications();This is beta documentation for Stream Chat React Native SDK v9. For the latest stable version, see the latest version (v8)
.
useClientNotifications
useClientNotifications listens to client-side notifications and returns the notifications list.
Best Practices
- Use this hook to centralize notification intake from the client.
- Avoid duplicating notification state in multiple components.
- Keep list rendering lightweight for frequent updates.
- Filter or batch notifications if your UI can’t show all of them.
- Clear notifications when they are acknowledged or acted upon.