agar.io-clone icon indicating copy to clipboard operation
agar.io-clone copied to clipboard

How up to date is the es6-refactor branch?

Open MadaraUchiha opened this issue 9 years ago • 7 comments

Is there work there worth preserving? Should I make an attempt to merge master into it? Should I just start over?

I've asked on Gitter but got no reponse.

MadaraUchiha avatar Jul 04 '15 13:07 MadaraUchiha

es6-refactor seems to be an extremely old branch that someone made... It's 230 commits behind master.

abalabahaha avatar Jul 04 '15 15:07 abalabahaha

If someone is willing to start over or update it, I'd certainly gladly appreciate that.

igorantun avatar Jul 04 '15 21:07 igorantun

I'm currently working on this. I have everything setup for hot-reloading and babel for ES6. It's gonna take me some time to get the game up and running, but I'm hoping this will help with some latency issues. Gonna also be looking into lighter socket options.

underGhost avatar Jan 26 '16 08:01 underGhost

Node 4+ supports a lot of ES6 features natively, so babel isn't really necessary unless import/export (instead of require/module.exports) or Node <4 compatibility are wanted. What do you guys think?

abalabahaha avatar Jan 26 '16 09:01 abalabahaha

Go big or go home. Support the LTS version, which is 4.2.6, or the latest stable, which is 5.5.0. Worth noting that while most features are already natively supported (the big ones include spread operators and arrow functions), babel is still needed for a lot of things, so it's not there quite yet.

MadaraUchiha avatar Jan 26 '16 09:01 MadaraUchiha

Yea I'll be using spread operators, arrow functions, and imports. The code will be organized and broken down into a much more elegant way as well to help with readability.

underGhost avatar Jan 26 '16 14:01 underGhost

Just wanted to give you guys an update. I've got it running with es6. I'm gonna clean up everything and push it out this weekend for everyone to test out.

underGhost avatar Jan 27 '16 06:01 underGhost