Created
December 27, 2016 17:06
-
-
Save robwormald/01ee7acb4344956ab908d4dac2efe1b7 to your computer and use it in GitHub Desktop.
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 {Observable} from 'rxjs' //the entire package, 300+KB | |
import {Observable} from 'rxjs/Observable' //just Observable, no operators, ~8KB | |
import {Subject} from 'rxjs/Subject' //just Subject, no operators | |
import 'rxjs/add/operator/map' //patch Observable proto with map operator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment