Working Socket.IO implementation
With the help of [this](https://blog.logrocket.com/implementing-websocket-communication-next-js/) blog post. But ts types had to be adapted. Thanks to [this](https://stackoverflow.com/questions/74023393/working-with-typescript-next-js-and-socket-io) helpful answer.
This commit is contained in:
parent
4e3cb9d2c1
commit
180ca06f7b
5 changed files with 307 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
"next": "13.1.1",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"socket.io": "^4.5.4",
|
||||
"socket.io-client": "^4.5.4",
|
||||
"typescript": "4.9.4"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue