-
# RXjs
# tutorialspoint
SIMPLY EASY LEARNING
## About the Tutorial
RxJS is a javascript library that uses observables to work with reactive programming that deals with asynchronous data calls, callbacks callbacks and event-based programs. RxJS can be used with other javascript libraries and frameworks. It is supported by Javascript and also with typescript.
## Audience
This tutorial is designed for software Reactive extension for Javascript (RxJS) and its programming concepts in simple and easy way. This tutorial will give you enough understanding on various functionalities of RxJS with suitable examples.
## Prerequisites
0 码力 |
106 页 |
1.56 MB
| 2 年前 3
-
## The Power of RxJS N A
In NativeScript + Angular
## What is RxJS?
Push based primitive in JavaScript
## What is RxJS?
Push based primitive in JavaScript
Ref implementation for TC39 Observable proposal proposal
## What is RxJS?
Push based primitive in JavaScript
Domain specific language that sits on top of JS
Ref implementation for TC39 Observable proposal
## What is RxJS?
Only external dependency specific language that sits on top of JS
Ref implementation for TC39 Observable proposal
## What is RxJS?
Only external dependency to Angular (2x)
Push based primitive in JavaScript
Domain specific language
0 码力 |
66 页 |
6.73 MB
| 2 年前 3
-
• ServiceWorker and Angular 2
• Redux and Angular 2
## Angular 2
## Tech Stack
• TypeScript
• RxJS
• JSPM or WebPack
• NPM or Grunt and Gulp (seriously?!?)
Karma + (Jasmine or Mocha) + Chai
## TypeScript Team choice for the new version of Angular (Microsoft and Google are now buddies!)
## RxJS
http://reactivex.io/rxjs/
- A reactive streams library that allows you to work with asynchronous data streams Observables and Operators so we can subscribe to streams and react to changes using composable operations
## RxJS, hello world!
let counter = 0;
rx.Observable
.interval(1000)
.take(3)
.safeApply($scope
0 码力 |
62 页 |
1.89 MB
| 2 年前 3
-
tics/angular
8.3.26 | | @schematics/update | 0.803.26 |
| rxjs | 6.4.0 |
# 3. Angular 8 — Creating First Application
Let us create @angular-devkit/core 8.3.26
@angular-devkit/schematics 8.3.26
@schematics/angular 8.3.26
@schematics/update 0.803.26
rxjs 6.4.0
So, Angular is installed in our system and the version is 8.3.26.
Let us create an Angular subscribes to an observable and returns the transmitted values.
import { Observable, Observer } from 'rxjs';
export class TestComponent implements OnInit {
timeChange = new Observable((observer: 0 码力 |
231 页 |
4.00 MB
| 2 年前 3
-
matics/angular
9.1.0 | | @schematics/update | 0.901.0 |
| rxjs | 6.5.4 |
On Windows, in case of ng being not recognised as internal colspan="2">9.1.0| @schematics/update | 0.901.0 |
| rxjs | 6.5.4 |
# 4. Angular CLI — ng new Command
This chapter 0 码力 |
64 页 |
1.04 MB
| 2 年前 3
-
"es6-shim": "^0.33.3",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "0.5.15"
},
"devDependencies":
0 码力 |
11 页 |
672.07 KB
| 2 年前 3
-
ce90cf24e0919d14c60ccaa6ac2/p22_1.jpg)
## Yes
|Redux|Npm|Less|
|---|---|---|
|Mobx|Yarn|Sass|
|Rxjs|babel|Stylus|
|Lodash|webpack|TypeScript|
|Underscore|Rollup||
|Moment|eslint||
|graphql|jest||
|يمتابل
0 码力 |
39 页 |
2.13 MB
| 2 年前 3
-
Tair
DB
TDDL
Sentinel 限流
JVM Coroutine
## 编程框架选型
| Rx*(RxJava/RxJS/RxSwift) | Project Reactor | Akka Stream |
| 特点 | * 出现早(7年前)、已发布 V2* 0 码力 |
27 页 |
1.13 MB
| 2 年前 3 -
time.
o Lazy, cancellable, and don’t generate values until someone subscribes to it.
- Angular Uses RxJs Observable for subscription based processing of asynchronous operations.
let observable = new Observable(observer 0 码力 |
60 页 |
1.05 MB
| 2 年前 3 -
;: "~8.20.3",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.4.0",
"tns-core-modules": "~6.3.0",
"zone 0 码力 |
106 页 |
2.59 MB
| 2 年前 3
|