Hacker News new | ask | show | jobs
by mpodlasin 3236 days ago
Just to point out - RxJs 5 allows you to bundle only operators you need, thus significantly lowering output file size. You could actually ship to the browser only features equivalent to those of this library. Not sure what actual numbers are though.
1 comments

This is news to me. Last time I looked into RxJS, I was unable to get a minimum useful core of less than 100 KB minified. Might want to look again, thanks!
import { Observable } from "rxjs/Observable";

import "rxjs/add/operator/map"; import "rxjs/add/operator/reduce"; import "rxjs/add/operator/take"; import "rxjs/add/observable/of";

// etc. - this way you only get what you need into your bundle