Next.js with Socket.io server
I am trying to setup a socket.io server with the next.js app, I have bootstrapped the creation of the app using create-t3-app, I have found this official guide https://socket.io/how-to/use-with-nextjs but I am having a typescript issue in this part
const httpServer = createServer(handler);
telling me Promise returned in function argument where a void return was expected.
How to use with Next.js | Socket.IO
This guide shows how to use Socket.IO within a Next.js application.
0 Replies