Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:13Length:2.5 hours
  • Overview
  • Transcript

2.4 Asynchronous Behavior and Promises

If you’ve messed around with JavaScript and jQuery, you’re used to performing AJAX calls to a backend server. You also know that if you push it too hard you’ll end up with a waterfall of nested callbacks. Asynchronous behavior is tricky to master, and few get the chance to do it well.

In this lesson you learn about promises, how they can actually help you structure your code and actually testing async behavior that would be so much more difficult otherwise.