Trying out rxjs v6 with typescript.
There are three function loadWithXhr, loadWithFetch and loadWithNative which implement ajax by using different rxjs capabilities.
This is a good reference point to start out experimenting with RxJS on your own.
Parcel bundler was used for development and production. RxJS v6 is used as main the driver.
Implemented in TypeScript, with help of TSLint.
I've used yarn as a package manager, npm can be used as well.
yarn
- install dependencies.
yarn run develop
- start a local server on http://localhost:1234/
by using parcel.
yarn run build
- build for production with a minified output.