You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of import 'rxjs/add/operator...'which does prototype patches Observable, Subject etc., do import { ... } from 'rxjs/operators';. Then compose them, via pipe operator.
would recommend moving to rxjs 6 and validating the component against current Angular at some point. There will be necessary library updates to make as well, such as ngx-bootstrap. Currently one would have to patch with a temporary shim library like rxjs-compat. Ideally the right import syntax and pipe operators would fix all of this.
Instead of
import 'rxjs/add/operator...'
which does prototype patchesObservable
,Subject
etc., doimport { ... } from 'rxjs/operators';
. Then compose them, viapipe
operator.https://blog.angularindepth.com/rxjs-understanding-lettable-operators-fe74dda186d3
The text was updated successfully, but these errors were encountered: