Categories
Async Programming JavaScript RxJS

Observables: The Async Evolution Beyond Promises

Observables are at Stage 1 in TC39's standardization process, meaning they might become part of JavaScript eventually. RxJS implements them now, and Angular 2 adopted them for HTTP and events. The question is whether Observables are genuinely better than Promises or just more complex.

After using RxJS with Angular 2, I think the answer is: both.

What Observables Are

Categories
Async Programming JavaScript Language Features

async/await: The Async Revolution Coming to JavaScript

async/await reached Stage 4 this month, meaning it's officially part of the next ECMAScript version (ES2017). After years of callbacks and promise chains, JavaScript finally gets syntax for asynchronous code that reads like synchronous code.

This isn't hyperbole—async/await is the most significant JavaScript language feature since Promises.

The Problem async/await Solves