JavaScript Promises (Udacity)

JavaScript Promises (Udacity)
Free Course
Categories
Effort
Certification
Languages
Misc

MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

JavaScript Promises (Udacity)
Async Work Made Easy. Learn how to handle asynchronous work with ease! In this course, you'll use Native JavaScript Promises to write asynchronous code that is easy to read, easy to write and easy to debug. Along the way, you'll be using Promises to make a webapp come to life!

MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Every web developer needs to be able to work with asynchronous code. Network requests, browser events, web workers and just about every else about the web happens asynchronously.

JavaScript developers normally rely on callbacks to execute async code, but Native JavaScript Promises offer a much easier solution. With Promises, error handling is streamlined and it becomes possible to flexibly chain lots of asynchronous work without creating a tangled mess of callbacks.




What You Will Learn


Lesson 1

Creating Promises

- Promises syntax and scope.

- Simplifying common useful methods with Promises.

- Basic error handling.


Lesson 2

Chaining Promises

- Creating sequences of async work manually.

- Advanced error handling.

- Techniques for generating sequences of async work with array methods.


Prerequisites and Requirements

We expect that students have built web apps in the past and they are familiar with the pitfalls of callback-heavy code. There is no HTML or CSS in this class.

JavaScript Skills Required:

- Using functions to return objects and other functions

- Basic understanding of scope and closures

- Reading and writing named and anonymous callbacks

- Array methods like .forEach and .map

Other Requirements:

- Ability to use GitHub to clone repos and checkout branches

- Comfort with command line tools



MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Free Course

MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.