JavaScript Async Await

Publicado em: 09 February 2019
no canal de: Web Dev Simplified
817,144
24k

One of the hardest things about writing good JavaScript is dealing with heavily nested asynchronous code. Promises were created to solve the problem with callback hell, but there are still plenty of nested problems related to promises. This is where async/await comes in. JavaScript added async/await to allows developers to write asynchronous code in a way that looks and feels synchronous. This helps to remove many of the problems with nesting that promises have, and as a bonus can make asynchronous code much easier to read and write. In this video I am going to explain what async/await is and how to use async/await to rewrite your existing promise based code.

Learn Promises First:
   • JavaScript Promises In 10 Minutes  

Async/Await Article:
https://blog.webdevsimplified.com/202...

Twitter:
  / devsimplified  

GitHub:
https://github.com/WebDevSimplified

CodePen:
https://codepen.io/WebDevSimplified


#JavaScript #AsyncAwait #Promises


Nesta página do site você pode assistir ao vídeo on-line JavaScript Async Await duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Web Dev Simplified 09 February 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 817,144 vezes e gostou 24 mil espectadores. Boa visualização!