Navigating the Promised Land. 

Promises in Javascript

by Mike Macaulay @mmacaula

github.com/mmacaula

Who Am I? 

  • Java for about 8 years
  • Moved to Omaha 2.5 years ago
  • Web / Javascript developer ever since

Who I work for

Agenda

  • Why do I care?
  • Introduction to promises
  • Why they're useful
  • How you can use them
  • Potential pitfalls

Why Do I Care? 

Simple contrived example:  

Create a simple animation

Navigating the Promised land.

By Mike Macaulay

Navigating the Promised land.

Promises in Javascript are great! They help you get out of "callback hell" and let you wrangle asynchronous code easily. This talk will provide a quick introduction to promises in Javascript, why they are useful, show you how to use them, and discuss some common pitfalls to avoid when using promises.

  • 1,179