Created a playground to record RxJS usage and sample program, there were no real examples on how to create RxJS from scratch. It's a startoff and it shares the same traits other languages; e.g. RxJava, RxScala. This project is seperated to webpack + typescript compilation and babel only compilation. I prefer the Babel - handsdown.
- Install NodeJS.
- Execute
npm install //yarn init && yarn install
- To run the directly via command line, execute the command.
npm run nodeRun
- To run scripts via command line.
npm run start
- Browse http://localhost:8080
- Inspect the browser, and view it on console tab to view the printed log.
/src/index.ts - typescript written codes to test RxJS. All samples are written here. /src/es6/exec.js - works like playground, supports es6. There are alot of code commented, each are based on samples of Observable, Subscription, and etc.
- Prototypal in typescript is not supported. Workaround ? Not available for typescript 3.
- Library to vast, similar to lodash, good luck to find what's needed.