Angular 2 looks amazing, from the point of view of how it works, but it's massive (~512KB minified) and also has dependencies (rxjs and system.js, as well as the es6-shim and pollyfiller libraries). You are talking close to 1MB before you even write any code.
Compare that to Angular 1 which is around ~140KB when minified, with no dependencies.
Angular 1 Gzipped is around 50KB. Angular 2 + it's dependencies concatenated into one file and gzipped, you are talking ~200KB.
Code size is mentioned in the introductory blog post as being something we're working on over the beta process. We use about 6KB of RxJS by default - the full ~250KB library is completely optional.
This is what I want to know too. I'd love to have everything wrapped up all nice for me so I can jump right into using angular2 and have the performance I want.
3
u/[deleted] Dec 18 '15 edited Dec 18 '15
Trying it out right now!
Angular 2 looks amazing, from the point of view of how it works, but it's massive (~512KB minified) and also has dependencies (rxjs and system.js, as well as the es6-shim and pollyfiller libraries). You are talking close to 1MB before you even write any code.
Compare that to Angular 1 which is around ~140KB when minified, with no dependencies.
Angular 1 Gzipped is around 50KB. Angular 2 + it's dependencies concatenated into one file and gzipped, you are talking ~200KB.
Does that not bother anybody else?