rudimusmaximus / DevFlow

A Dev Flow for Google Appscript
51 stars 11 forks source link

How can we move to ES6 when server side is not? #47

Open rudimusmaximus opened 6 years ago

rudimusmaximus commented 6 years ago

How can we move to ES6 when server side is not?

See the gist for getting started with GAS in issue #45 about it's support of javascript and while Google has accepted ES6 compliance as a TODO, there is no timeline.

Discussions about transpiling stack solutions for GAS

On google plus
Paul Miller has a nice Es6-shim ready for browser use
Which was modified to work with serverside HERE

Final Answer

Use patterns proven effective and DO NOT TRANSPILE. WHEN we can get a reliable date of support OR a proven and popular solution. Refactor the code!

This will be difficult but will be a good learning point as we learn ES6 and use some older JS in the form of GAS.

rudimusmaximus commented 6 years ago

@RobGoelz