|
|
|
|
|
by littlecranky67
3237 days ago
|
|
You would have to epxlain how adding a 100kb library make your bundle become 2-5MB huge. And note that with RxJS 5 you can only pick operators and data structures that you need; I have written a Redux-clone using RxJS [1] which uses Observable, Subject and a handful of operators and is less than 16kb as minified & gzipped in total as self-contained umd bundle (of which half the size is attributed to lodash helper functions). [1]: https://github.com/Dynalon/reactive-state |
|
Bundle size: a typical SPA imports multiple libraries, they import more libraries, and so on. It's not just Rx. I shouldn't have to explain how small things add up. Not caring about size is how it balloons up. We have to care about it in every library.