Skip to main content
Urbicon UI

NotificationListener

Headless SSE listener that connects to the notification stream. Fires a callback on each incoming notification. No visual output.

Basic

Typical usage:

<NotificationListener
  onNotification={(n) => store.add(n)}
  onReconnect={(attempt) => console.log('Reconnecting...', attempt)}
/>
Loading...
Loading syntax highlighting...

API Reference

5 props

No matching properties

No matching properties

Installation

Import

Loading...
Loading syntax highlighting...