Skip to content

Asynchronous JavaScript

Tom Elam edited this page Mar 27, 2021 · 11 revisions

Here I will dump links and key points related to asynchronous JavaScript.

RxJS

What is RxJS? RxJS is the reactive extensions library for JavaScript. It's a library for reactive programming using Observables, to make it easier to compose asynchronous or callback-based code. RxJS 6 is a rewrite of Reactive-Extensions/RxJS with better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface. Version 7 is currently in public beta, but is currently used by Google in production. To learn more about RxJS, please come to the conference or visit the documentation at rxjs.dev.

Top sources

  1. RxJS
  2. RxJS Introduction/Overview
  3. "RxJS: Reactive Extensions For JavaScript" on npmjs.com
  4. rxjs.live
  5. GitHub repo for version 6.x stable
  6. RxJS documentation project

Miscellaneous but good articles

  1. "An Animated Intro to RxJS" on css-tricks.com
  2. GitBook "Learn RxJS"

ReactiveX

ReactiveX is a combination of ideas from the observer and the iterator patterns and from functional programming.

Top sources

  1. RxJS is just the reactive extensions library for JavaScript. See "About RxJS".
  2. "An API for asynchronous programming with observable streams"
  3. "The Interactive Extensions for JavaScript (IxJS)"

Article series on MDN

  1. Module "Asynchronous JavaScript"
  2. "General asynchronous programming concepts" (skippable)
  3. "Introducing asynchronous JavaScript" (callbacks and promises)
  4. "Graceful asynchronous programming with Promises"
  5. "Making asynchronous programming easier with async and await" (syntactic sugar on top of promises)
  6. "Choosing the right approach"

Clone this wiki locally