Promisees – JavaScript Promises Visualization
1–10 of 16 posts
Re: Promisees – JavaScript Promises Visualization
#2The best part: you can use it today with babel (I'm using it in browser and on node thanks to the power of webpack, babel and hot reloading).
Re: Promisees – JavaScript Promises Visualization
#3because I couldn't find any information on that
Re: Promisees – JavaScript Promises Visualization
#4can someone explain to me is ES7 tied to the browser version/type, or usually all the popular browsers support it out of the box? because I couldn't find any information on that
Re: Promisees – JavaScript Promises Visualization
#5can someone explain to me is ES7 tied to the browser version/type, or usually all the popular browsers support it out of the box? because I couldn't find any information on that
It's complicated. ES6/7 support isn't binary. But sites like this help: http://caniuse.com/
Re: Promisees – JavaScript Promises Visualization
#6Promises are better than being stuck in callback hell, but ES7 async functions (async/await) are way better: http://www.sitepoint.com/simplifying-asynchronous-coding-es7... The best part: you can use it today with babel (I'm using it in browser and on node thanks to the power of webpack, babel and hot reloading).
Re: Promisees – JavaScript Promises Visualization
#7Promises are better than being stuck in callback hell, but ES7 async functions (async/await) are way better: http://www.sitepoint.com/simplifying-asynchronous-coding-es7... The best part: you can use it today with babel (I'm using it in browser and on node thanks to the power of webpack, babel and hot reloading).
I agree, async/await is very nice. Though it is worth pointing out async/await is quite literally syntactic sugar on top of promises. Essentially adding language syntax for common promise idioms.
Re: Promisees – JavaScript Promises Visualization
#8Promises are better than being stuck in callback hell, but ES7 async functions (async/await) are way better: http://www.sitepoint.com/simplifying-asynchronous-coding-es7... The best part: you can use it today with babel (I'm using it in browser and on node thanks to the power of webpack, babel and hot reloading).
Re: Promisees – JavaScript Promises Visualization
#9Earlier quoted context omitted.
I agree, async/await is very nice. Though it is worth pointing out async/await is quite literally syntactic sugar on top of promises. Essentially adding language syntax for common promise idioms.
More than just syntactic sugar. async/await changes the whole control flow of a method.
Re: Promisees – JavaScript Promises Visualization
#10Earlier quoted context omitted.
I agree, async/await is very nice. Though it is worth pointing out async/await is quite literally syntactic sugar on top of promises. Essentially adding language syntax for common promise idioms.
More than just syntactic sugar. async/await changes the whole control flow of a method.