Z
Zyeon UI

useEventSource · Zyeon UI

Subscribe to a Server-Sent Events stream with a four-state connection machine, capped exponential-backoff reconnects, named-event subscriptions and callbacks that never re-open the stream.

npx shadcn@latest add @zyeon/use-event-source
Preview useEventSource on Zyeon UI's site (opens in a new tab)

Not checked yet

Zyeon UI limits how often it can be asked, and useEventSource hasn't had its turn. Its source will show here once it has.