Egghead Instructor Ben Lesh

Ben Lesh

Ben Lesh is a Senior UI Engineer at Netflix. He is also the development lead for RxJS 5, the latest version of RxJS



Unlock all of Ben's PRO Lessons
click for instant access!

Browse Ben Lesh's lessons.

showing 10 lessons...

Creating Observable From Scratch

Error Handling in RxJS

P

Aggregating Streams With Reduce And Scan using RxJS

P

RxJS - map vs flatMap

Toggle A Stream On And Off With RxJS

P

Stream Processing With RxJS vs Array Higher-Order Functions

P

Throttled Buffering in RxJS

P

RxJS Observables vs Promises

What Is RxJS?

Creating An Observable with RxJS

rx tutorial about Creating Observable From Scratch

Creating Observable From Scratch

14:17 rx

Get a better understanding of the RxJS Observable by implementing one that's similar from the ground up.

rx tutorial about Error Handling in RxJS

Error Handling in RxJS

5:12 rx PRO

Get your code back on the happy path! This lesson covers a variety of ways to handle exceptions thrown by Observables in RxJS. Operators covered are: catch, onErrorResumeNext, retry and retryWhen

rx tutorial about Aggregating Streams With Reduce And Scan using RxJS

Aggregating Streams With Reduce And Scan using RxJS

3:47 rx PRO

What is the RxJS equivalent of Array reduce? What if I want to emit my reduced or aggregated value at each event? This brief tutorial covers Observable operators reduce() and scan(), their differences and gotchas.

rx tutorial about RxJS - map vs flatMap

RxJS - map vs flatMap

2:35 rx

What is the difference between map and flatMap? How do you take an Observable of Observables and output a single stream? This lesson is a quick look at map and flatMap and how they relate.

rx tutorial about Toggle A Stream On And Off With RxJS

Toggle A Stream On And Off With RxJS

3:52 rx PRO

This lesson covers how to toggle an observable on and off from another observable by showing how to use a checkbox as a toggle for a stream of data.

rx tutorial about Stream Processing With RxJS vs Array Higher-Order Functions

Stream Processing With RxJS vs Array Higher-Order Functions

3:49 rx PRO

Higher order Array functions such as filter, map and reduce are great for functional programming, but they can incur performance problems. This lesson illustrates how stream processing with RxJS can save you from these pitfalls.

rx tutorial about Throttled Buffering in RxJS

Throttled Buffering in RxJS

3:41 rx PRO

Capturing every event can get chatty. Batching events with a throttled buffer in RxJS lets you capture all of those events and use them responsibly without overloading a subscriber downstream.

rx tutorial about RxJS Observables vs Promises

RxJS Observables vs Promises

6:53 rx

Let's look at some of the basic features of RxJS Observables as asynchronous primitives, by comparing them to their cousins, Promises.

rx tutorial about What Is RxJS?

What Is RxJS?

2:31 rx

RxJS Observables represent a collection of values over time, and can be accessed in familiar ways similar to arrays. RxJS can be thought of as underscore or lodash for asynchronous operations!

rx tutorial about Creating An Observable with RxJS

Creating An Observable with RxJS

6:53 rx

Let's learn the basic anatomy of an RxJS Observable by creating one from scratch. In this lesson, we create a simple Observable. It covers handling asynchronicity, emitting values, observable completion and error handling.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?