JavaScript Async Await

Pubblicato il: 09 febbraio 2019
sul canale di: 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


In questa pagina del sito puoi guardare il video online JavaScript Async Await della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Web Dev Simplified 09 febbraio 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 817,144 volte e gli è piaciuto 24 mille spettatori. Buona visione!