Created
August 20, 2018 21:42
-
-
Save kamilkisiela/dc6f215ebc17a63e7f3661c32ff4ddbe to your computer and use it in GitHub Desktop.
FeedComponent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { FeedGQL } from './feed-gql.ts'; | |
@Component({ … }) | |
export class FeedComponent { | |
constructor(feedGQL: FeedGQL) { | |
feedGQL.watch() | |
.valueChanges | |
.subscribe(result => { | |
// ... | |
}) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment