Real-Time Collaboration Features in Next.JS. Is it possible?
Unanswered
Northern Shoveler posted this in #help-forum
Northern ShovelerOP
Hi everyone, I'm trying to implement some real-time collaboration features in one of my Next.JS projects. I'd like not to use libraries, but to create the logic all by myself with web sockets. Is there any issue or shortcoming that I should be aware of?
8 Replies
web sockets is not supported in serverless, meaning you can't use ws in next.js when you deploy on vercel
also this should be helpful for you
@James4u web sockets is not supported in serverless, meaning you can't use ws in next.js when you deploy on vercel
Northern ShovelerOP
Yeah, I thought it wouldn't work, but what if I host the app on a VPS?
yeah if you self-host your Next.js project on your vps you should be able to use it
Northern ShovelerOP
Nice, thank you. I've done some research though, and I've found that maybe Socket.io could be the right choice
great!
Original message was deleted
Mark solution to close the thread if you don't have any other questions 🙂