trpc-sse-link
trpc-sse-link copied to clipboard
Is this still the way to go?
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!
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.
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. 😊