Closed mattevenson closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
socket-io-website | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Feb 28, 2023 at 5:19AM (UTC) |
Good catch, thanks :+1:
The uWebSockets.js docs say to initialize the server by just calling
App()
rather than attempting to use the constructornew App()
as portrayed in the example on the SocketIO docs, which doesn't work.(In Typescript, you get an error:
Only a void function can be called with the 'new' keyword.
)