jQuery's introduction of $.Deferred() is one of the library's most powerful additions in recent history. It's not a new idea, but it merits an introduction now that it's available to thousands of client-side developers. At its core, the Deferred pattern is a simple but powerful tool for the management of asynchronous processes. As we all know, in client-side development, these asynchronous situations are everywhere. We're going to take a look at deferreds and the API offered by jQuery's implementation. There are plenty of examples below, so follow along.
Read full article from Wealthfront Engineering: jQuery.Deferred is the most important client-side tool you have
No comments:
Post a Comment