- the official website of
ReactiveX
is http://reactivex.io/. - the following languages are supported:
- Angular7RxJS?
- RxJSAngular
- how should I import to make the case trial on the official website successful?
ReactiveX
is http://reactivex.io/.
try
import {Obsrevable} from 'rxjs';
import {Observable} from 'rxjs';
in addition, there are official Angular tutorials that you can refer to
.ide/observables" rel=" nofollow noreferrer "> Angular official tutorial
Let's ask and answer your own question. The code similar to Rx.Observable
above is used before 5.5.It is now more than 6, so destructive updates
should be quoted as follows: import {delay} from 'rxjs/operators';
, using
of (xxxx) .pipe (delay (2000));
, indicating that you have to wait 2 seconds before the observable object is returned
Previous: JSON parsing error JSON parse error: Unexpected end-of-input
Next: Import {Button} from 'antd' sub-module loading, how to do it
it s OK to do this when using angular5. Just upgrade 6, prompting "No export member Observable ", angular6 how to import Observable? ...