HI, anyone knows, or is willing to try and figure out with me, how to initialize socket.io in 3.0 (blank template)?
here is their example that should work for "regular" next.js applications:
https://socket.io/how-to/use-with-nextjs
Note that I am very new to node.js in general, but have strong react and c# background.
From my understanding all this needs to happen before withPayload in next.config.mjs is called, but i do not have idea how to make both of them happen on load.
This guide shows how to use Socket.IO within a Next.js application.