Common Use Cases of Asynchronous JavaScript Programming
Learn some common use cases for asynchronous code. We'll walk through examples of DOM manipulation, dynamic loading, and file system management.
DOM Manipulation
When we click a button on a web page, we’re using asynchronous code. The developer has set up an event listener such that when we click, some piece of code fires. In between the loading of the page and the user clicking that button, the engine sits idle.
If you’ve ever used jQuery you’ve seen that it’s entirely based on callbacks.
Get hands-on with 1200+ tech skills courses.