Page MenuHomePhabricator

Update Tracker code from ES6 to ES8
Open, LowPublic

Description

Mainly because of async/await in ES2017, that will simplify fetch requests.

There will be a need for adding a fallback for older browsers or using transpilers like Babel

ES Next release support: https://kangax.github.io/compat-table/esnext/
Async/Await support: https://caniuse.com/#feat=async-functions

Details

Event Timeline

Change 479188 had a related patch set uploaded (by Nathan fraignt; owner: Nathan fraignt):
[wikimedia-cz/tracker@master] Change ES version in .eslintrc.json to 8 to support async/await

https://gerrit.wikimedia.org/r/479188

takidelfin renamed this task from [Needs approval] Update Tracker code from ES6 to ES7 to Update Tracker code from ES6 to ES7.Dec 12 2018, 1:20 PM
takidelfin renamed this task from Update Tracker code from ES6 to ES7 to Update Tracker code from ES6 to ES8.
takidelfin updated the task description. (Show Details)

Change 479188 merged by jenkins-bot:
[wikimedia-cz/tracker@master] Update eslint to ES8 to support async/await

https://gerrit.wikimedia.org/r/479188

(Multiple patches)