Planning an event and need a film crew? Get an estimate now!

From callbacks to promises

by · Sep 19, 2015 · 1 246 views ·

Handling asynchronous code with callbacks forces us to build an unmanageable stacks of function calls, often leaving us buried beneath them. Is there a better way to handle this? Yes, with Promises. ES6 promises give us an elegant way to handle asynchronous code. We will dive into core of promises, as well how to break apart common Callback Hell scenarios into beautiful method chains.

Watch SlidesLive on mobile devices

© SlidesLive Inc.