How do tRPC WebSockets work with NextJS
Hey!
I've recently stumbled upon this repo: https://github.com/trpc/examples-next-prisma-websockets-starter.
I'm a little confused on how it would be able to hold a connection with a serverless environment.
I've recently stumbled upon this repo: https://github.com/trpc/examples-next-prisma-websockets-starter.
I'm a little confused on how it would be able to hold a connection with a serverless environment.
Solution
it looks like they setup a websocket server there, and host they on "render"
