trpc-sse-link icon indicating copy to clipboard operation
trpc-sse-link copied to clipboard

Is this still the way to go?

Open shirecoding opened this issue 4 months ago • 2 comments

I've notice that the tRPC supports web sockets now, however i don't see any SSE support. Seems like this last update was 10 months ago, but may i ask if this way is still valid?

Thanks!

shirecoding avatar Mar 02 '24 03:03 shirecoding

Hi @shirecoding! I just gave it a go with the latest tRPC release (10.45.x right now) without running into any new hiccups:

https://github.com/OutdatedVersion/trpc-sse-link/assets/11138610/a75bc156-7197-4632-9b58-61e8c9ec43f9

Probably already saw it when you were looking for WebSocket/SSE support but there's some movement on first-class stream support (WHATWG, not Node.js') in tRPC from October 2023 ... which seems related. Nothing past that.

OutdatedVersion avatar Mar 03 '24 05:03 OutdatedVersion

Just want to pitch in here and say that I'm using a modified version (mostly removed console.logs and other stuff) of this repo's SSELink in prod with over 100 DAU, and so far so good. 😊

avarayr avatar Mar 09 '24 03:03 avarayr