Learn how to build and manage asynchronous programs to become an effective JavaScript programmer. Join Jafar Husain - the Cross-Team Technical Lead for the Netflix UI and architect of its UI data platform as he takes you beyond the fundamentals of asynchronous JavaScript to introduce you to new features and techniques that will help you reduce code and create smarter applications. This class is for developers with an intermediate knowledge of JavaScript. At a minimum you must understand how to create functions, use loops, create JS Objects, and how function scope works. You should also have taken Jafar's Asynchronous JavaScript course.
Overview
Syllabus
- Introducing Advanced Asynchronous JavaScript
- Observable Interface Changes
- Multiple Subscribes to One Observable
- Q&A: Hot Observables
- Data Stream into Hot Observable
- Events into the Observer
- Challenge 1: Map() for Observables
- Challenge 1: Solution
- Passing Subscriptions
- Filter() for Observables
- Introducing the "Animations Allowed" Problem
- Taking Stock of Resources
- observables.shift() and Recursion
- Helper Functions
- Q&A: Multi-dimensional Observables
- Challenge 2: AnimationsAllowed
- Challenge 2: Solution
- Challenge 2: Solution II
- Error Handling
- Cancellation and Promises
- Catching Specific Errors
- Challenge 3: Reddit Image Viewer App
- Challenge 3: Solution
- Image Viewer Streams
- Getting Images
- Picking an Image
- Debugging Observables
- Challenge 4: Preloading Images
- Challenge 4: Solution
- Indices and Switching Subs
- Q&A: Preloading with Callback
- Q&A: Unsubscribe Methods, onError
- Q&A: Subjects and Replays
- Q&A: Async Iterators
- Redux
- Q&A: Time Travel in Redux and Scheduler Class
- Q&A: JavaScript Standardization
- Q&A: Testing Observables and Wrapping Up
Taught by
Jafar Husain