Hiyve Components - v1.0.0
    Preparing search index...

    Function useNotifications

    • The recipient's notifications/announcements inbox: an initial fetch plus live updates over the SSE stream, with optimistic read actions and a derived unread count for a badge. Reconnect + catch-up are handled by the cloud client; a resync triggers a refetch.

      Parameters

      • userId: string | null | undefined

      Returns UseNotificationsResult