Rxjs: Proposal: No more KitchenSink

Created on 26 Apr 2016  路  6Comments  路  Source: ReactiveX/rxjs

We should probably just have one global export file for the masses.

  1. Is it huge? Yes.
  2. Should people use RxJS 5 that way? Hell no. Use a bundler and only import what you're using.
  3. In past tests, I noticed the gzipped size of Rx.KitchenSink.min.js was about the same as Rx.min.js, because of how the compression affected it.

If people are using the global export version of RxJS, it can be assumed that they're probably hacking around, and/or not really serious about reducing the size of their downloaded application.

At this point it's a little confusing to say "this is in Rx, but this is in Kitchensink" to people. Also, given how modular this library is, it would be easy enough for anyone to make their own custom build of RxJS 5 to keep around.

Basically the idea is just to put everything in Rx.ts

Thoughts?

high Help Wanted

Most helpful comment

I would love to see this go out in a beta 8.

All 6 comments

I'm in favor of this in general too, but had assumption those packages are similar representation of rx.all.js to rx.lite.js in RxJS4. So in case of anyone who'd like to have minimal, core packages (Rx currently), it's recommended to make custom imported builds of their own?

Agreed.

Been in favor of this for a long time, let's do it.

So in case of anyone who'd like to have minimal, core packages (Rx currently), it's recommended to make custom imported builds of their own?

Yes. If someone cares that much they should be using bundling and tree shaking anyhow.

I would love to see this go out in a beta 8.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dooreelko picture dooreelko  路  3Comments

benlesh picture benlesh  路  3Comments

peterbakonyi05 picture peterbakonyi05  路  4Comments

matthewwithanm picture matthewwithanm  路  4Comments

jakovljevic-mladen picture jakovljevic-mladen  路  3Comments