Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Thinking Reactively with RxJS

via egghead.io

Overview

When a manager gives us the requirements for an application feature, they don't care too much about how we build it. And often times, they think that hard things will be easy.
Dealing with time and coordinating different types of events can be tricky.
Luckily, we have RxJS to help!
In this course, you will use RxJS to build a loading spinner in an app that meets the ever-changing requirements from a mock Product Manager.
You'll also learn how to implement a "Konami Code" style feature that listens for a correct sequence of keys to be typed in a set amount of time.
Follow the thought process that Rares uses as he breaks problems down into manageable pieces that remain flexible, and become more comfortable solving problems reactively.

Syllabus

  • Thinking Reactively with RxJS Course Intro
  • Use reactive, RxJS based solutions for complex problems
  • Break down a requirement into small problems
  • Pipe events to numbers and maintain a running count using the scan operator
  • Create safe and predictable observable abstractions
  • Maintain shared observable state using the scan and shareReplay operators
  • Use the filter and pairwise operators to determine when to show and hide the spinner
  • Build an observable from a simple english requirement
  • Expose complex reactive code as simple function based APIs
  • Encapsulate complex imperative logic in a simple observable
  • Extend Your Reactive Logic in RxJS using Observable-like Proxies that Delay or Drop Events
  • Use RxJS combineLatest to Only Emit Notifications When Certain Events Have Happened
  • Maintain Self-resetting State in Your Observable Streams using the RxJS scan Operator
  • Build an Event Combo Observable with RxJS
  • Use RxJS exhaustMap to Wait for Open Combos to Finish Before Starting New Ones
  • Simplify Usage of Your Reactive Service by Building an RxJS Operator to Manage It For You
  • Extend Promises by Adding Custom Behavior

Taught by

Rares Matei

Reviews

4.6 rating at egghead.io based on 177 ratings

Start your review of Thinking Reactively with RxJS

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.