How to make Server Sent Event (SSE)

I need to make a SSE, so that all client have the data updated when it is modified. Howewer, since I'm using ag-grid the server side rendering (ssr) is desactivated.
2 Replies
peerreynders
peerreynders4w ago
In what way is not being able to SSR impeding your ability to use SSE (I don't see them as being connected in any way)? FYI: h3 now supports event streams directly. https://github.com/peerreynders/solid-start-sse-chat/blob/d2b9070f956947c940dc2046abbbbf4bbcbd58e2/src/components/history-context/streamer.ts#L89
GitHub
solid-start-sse-chat/src/components/history-context/streamer.ts at ...
Basic Chat demonstration with server-sent events (SSE) - peerreynders/solid-start-sse-chat
Advanced - h3
More utilities
Claloi
Claloi4w ago
Thank for the information, I will check that!