/observables-workshop

Observables, Subjects, Behavior Subjects and even Promises put on a benchmark.

Primary LanguageTypeScriptMIT LicenseMIT

observables-workshop

Description

The Observables Workshop is a place to experiment asynchronous technics, using RxJS and Promises. Explore the source code to see the different technics and execute it to see how it works. The code is explained so that one can understand the pluses and minuses of each case.

The intent is to see how do Observables, Subjects, Behavior Subjects and Promises work on simple cases and how to avoid verbose code and memory leaks.

How to use

Make sure you already npm, otherwise install it from https://nodejs.org/.

Clone the repo:

git clone https://github.com/vpcom/observables-workshop.git

Run the project

cd observables-workshop ng serve

And Navigate to http://localhost:4200/.