Top "Ecmascript-2017" questions

Use this tag for questions about features finalized in ECMAScript 2017.

how to async/await redux-thunk actions?

action.js export function getLoginStatus() { return async(dispatch) => { let token = await getOAuthToken(); let success = await verifyToken(token); if (success == …

reactjs react-native react-redux redux-thunk ecmascript-2017
How to use async/await in Vue.js?

I'm new in ES7 I want to use async/await in Vue.js Here is my code created (){ this.getA() …

javascript vue.js async-await ecmascript-2017
Property 'entries' does not exist on type 'ObjectConstructor'

I'm working on an ng2 implementation. I'm using the following function call to convert an object to an array: var …

javascript angular typescript ecmascript-6 ecmascript-2017
Async/Await inside Array#map()

I'm getting compile time error with this code: const someFunction = async (myArray) => { return myArray.map(myValue => { return { id: "…

javascript async-await ecmascript-2017
(ES6) class (ES2017) async / await getter

Is it or will it be possible to have an ES6 class getter return a value from an ES2017 await / …

ecmascript-6 async-await ecmascript-2017
Correct Try...Catch Syntax Using Async/Await

I like the flatness of the new Async/Await feature available in Typescript, etc. However, I'm not sure I like …

javascript promise async-await try-catch ecmascript-2017
Is it safe to use async/await now?

Is it safe to use async-await in Javascript instead of generators-promises now, knowing that the syntax has not made yet …

javascript ecmascript-6 async-await ecmascript-2017
async/await always returns promise

I'm trying async/await functionality. I have such code imitating a request: const getJSON = async () => { const request = () => new …

javascript asynchronous promise async-await ecmascript-2017
Is async await truly non-blocking in the browser?

I have been playing around with the feature in an SPA using TypeScript and native Promises, and I notice that …

javascript user-interface asynchronous async-await ecmascript-2017
react-native async function returns promise but not my json data?

I'm learning react-native, and I'm running into an issue. Why does getting data on return from an async function return …

javascript react-native async-await ecmascript-2017