Promise chaining is dead. Long live async/await

593 Views

​​While async functions have been around forever, they are often left untouched. Async/await is what some may consider an outcast. ​​Why? ​​​​A common misconception is that async/await and promises are completely different things. ​​​​Spoiler alert, they are not! Async/await is based on promises.