-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this project still maintained? + discussion about the future of socket.io #3311
Comments
Yes it is! Most recent work has gone into the website, as I think most of the open issues are related to the lack of proper documentation.
Every dependency should be up-to-date, but I'll check!
Dropping XHR polling would basically mean using WebSocket only, but in that case it would be better to use the "raw" WebSocket API (instead of a 15kb gzipped bundle on the client-side). Dropping support for older IE versions wouldn't result in a big removal of code I fear, but I guess we could.
You mean, providing a RxJS API within Socket.IO?
As with dropping older IE versions, I'm not sure it would result in a much lighter build, but we could try!
You mean, https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/socket.io ?
Some ideas for the v3 release are listed there. Basically, the rewrite to ES6 could be swapped to a rewrite in TypeScript, but in both case all related projects are concerned:
|
IE11 is still, unfortunately, very much alive! |
@joacim-boive You could still use 2.0 if you want IE support. Many frameworks dropped IE support with their latest versions. @darrachequesne Didnt expected this, great to hear! I would totally prefer TS over ES6/7. I wonder why the client is 60kb, no way to make it treeshakable? With RxJs i meant within socket.io code not for the „enduser“. Maybe it could be more reactive and this could possibly reduce a lot of code and male things more simple. The enduser can still use socket.on() or decide to use RxJS fromEvent(socket) instead as it is now. Also may it make sense to create documentation out of the source code comments? To let me contribute i would love to see some graphics when what is happening and why. Long polling, handshake, upgrade websocket connection etc etc. If then everything is modular with single responsibility and made with TypeScript someone who is not familiar woth network-technology could still help contributing like improving bundle size or performance. Thats a lot of projects. Personally i would go one by one and start only with js client maybe and all others could still use fantastic 2.0. Also maybe another module could catch breaking changes so 2.0 still works with 3.0 server, e.g. see rxjs-compat. Btw the new website was so confusing and disapointing for me at first: I thought „documenation“ is everything and mostly so many functions are missing. Took me a while to notice the page „api“ which was exactly what i was looking for. |
Closed, contiued discussion here: #3250 |
@MickL I started to document the relationships between modules here: https://socket.io/docs/internals/ It is obviously far from complete, but that's a starting point. Running Which shows that the main sources of code are under our control:
Sorry to hear that! I'm open to suggestion for how to make the website clearer. |
Is this project still maintained? |
@coltenkrauter yes it is! I'll have a lot more time to dedicate to the project in the next few months, I'm going to publish a roadmap soon. |
Fantastic @darrachequesne, I love what you've done here. |
I wonder if this project is still maintained. Last commit is 3 month ago and there are nearly 300 open issues.
It seems like socket.io is still the module to use for websocket connections and i don't find any alternative. But time is changing, technology is evolving, so i wonder if this project is still maintained.
Hasn't the time come for socket.io 3.0? I think about:
What about an rewrite of socket.io in TypeScript? At least socket.io does seem to be a relative small project. In contrast I want to mention the evolution of something like RxJS: Constantly reinventing itself, reducing bundle-size, treeshakability, performance etc. etc.
The text was updated successfully, but these errors were encountered: