jsonberry / rxjs-examples

General examples of RxJS - HTTP and Node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RxJS Examples

  • yarn to install dependencies
  • yarn start to start the http server

Front-end and Node examples with RxJS

The Node examples aren't really good "Node" examples yet, they're just in a Node environment. More to come.

Rx is...

  • A unified API for async operations - Seth House
  • Lodash for async/events - Ben Lesh

The real answer lies in how you use it - Ben Lesh

It’s about manipulating Observables, which are push-based sets - Ben Lesh

Reactive Programming allows you to specify the dynamic behavior of a value at declaration - André Staltz

Reactive programming is programming with asynchronous data streams. - André Staltz

Notable Influencers

Operator Example
buffer Event Bus with Subjects
bufferCount Konami Code
catch Retry with Backoff
combineLatest Move Element with Arrows
concatMap Subsequent XHR Requests
defer Retry with Backoff
filter Konami Code
Move Element with Arrows
first Retry with Backoff
from Subsequent XHR Requests
Konami Code
fromEvent Event Bus with Subjects
Konami Code
Move Element with Arrows
map Event Bus with Subjects
Konami Code
mapTo Move Element with Arrows
merge Move Element with Arrows
mergeMap Konami Code
Retry with Backoff
of Retry with Backoff
range Subsequent XHR Requests
Retry with Backoff
Subsequent XHR Requests
retryWhen Retry with Backoff
startWith Move Element with Arrows
throw Retry with Backoff
timer Retry with Backoff
zip Retry with Backoff

About

General examples of RxJS - HTTP and Node