Angular 2 RC 4 Rxjs Bundles
See original GitHub issueI’m submitting a … (check one with “x”)
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior While bootstraping the application, I see system is loading individual rxjs files. (100+ calls)
Expected/desired behavior
Shouldn’t it load RXJS bundle same like other angular libraries?
Reproduction of the problem If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
- Angular version: 2.0.0-rc.4
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
- Language: [all | TypeScript X.X | ES6/7 | ES5 | Dart]
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Using Rxjs umd bundles - angular - Stack Overflow
It is now possible to ship a small number of UMD or FESM bundles, one for each of the handful of imports (rxjs,...
Read more >Starting an Angular 2 RC.5 project - Yakov Fain
The Angular modules will be loaded according to the SystemJS configuration file systemjs.config.js. Note the commented out script tag for Rx.js.
Read more >Upgrading from AngularJS to Angular
Correspondingly, when you upgrade an AngularJS component and use it from Angular, all the bindings defined for scope (or bindToController ) of the...
Read more >How To Update Angular CLI To Latest Version
Once all of your dependencies have updated to latest RxJS 6, remove rxjs-compat package as it increases bundle size. npm uninstall rxjs-compat ...
Read more >Angular 2 with Webpack - DotNetCurry.com
This bundle can include JavaScript, HTML, CSS and other type of files. Following are some goals of the WebPack: Best suited for big...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think it’s up to you to bundle your application as you wish.
For what its worth, the reason we don’t bundle Rx for you is to not bring in 300KB+ of extra dependencies you may not need, which would of course increase your loading time.
This is non-trivial to solve to keep everyone happy, because like many things in angular2, we are optimizing for the future. Bundling is not going away and we will continue to optimize for the case that allows for smaller package sizes.
RxJS does currently ship a SystemJS bundle, it’s the /bundles/Rx.js file, which would give you all of the dependencies angular needs as well as the entire Rx library.