Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

chore: switch to rxjs lettables #344

Merged
merged 3 commits into from
Dec 18, 2017
Merged

chore: switch to rxjs lettables #344

merged 3 commits into from
Dec 18, 2017

Conversation

amcdnl
Copy link
Contributor

@amcdnl amcdnl commented Dec 2, 2017

This PR switches RXJS usage to lettable operators.

@amcdnl amcdnl self-assigned this Dec 2, 2017
@amcdnl amcdnl requested review from jelbourn and crisbeto December 2, 2017 18:59
@@ -1,6 +1,6 @@
import {Component, ViewEncapsulation} from '@angular/core';
import {Router, NavigationEnd} from '@angular/router';
import 'rxjs/add/operator/filter';
import {filter} from 'rxjs/operators';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be imported from rxjs/operators/filter, otherwise it'll import all the operators. Same goes for all the other rxjs/operators imports.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. Fixed.

Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No comments from me other than what @crisbeto said

@amcdnl
Copy link
Contributor Author

amcdnl commented Dec 10, 2017

@jelbourn - fixed :)

Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jelbourn
Copy link
Member

@amcdnl can you rebase?

@amcdnl
Copy link
Contributor Author

amcdnl commented Dec 16, 2017

@jelbourn done :)

@jelbourn jelbourn merged commit b029f91 into angular:master Dec 18, 2017
@amcdnl amcdnl deleted the lettables branch January 21, 2018 17:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants