Skip to main content

08.17.2017

Promises in ES6 and Async Await in ES7, Understanding Promises in Today's Javascript-Based Programming

Though there were other libraries that paved the way, Server-side scripting using Javascript became a viable solution as Node gained usage.

With its popularity and usage of asynchronous actions, callbacks to manage these actions is essential. As this reliance grew, managing nested callbacks became a cumbersome task.

Each nested callback not only needed to handle the responses but also error handling in each callback.

The usage of callbacks or promises is a coding convention now at the core of modern javascript programming. As seen throughout JS libraries like Node.js to UI Component Libraries like React.js.

Project Members: Alice Chuang

Find the program that fits your life.

Learn about our coding, cybersecurity, and data analytics bootcamps offered on full-time and part-time schedules.