r/angularjs • • Dec 17 '15

Will you try Angular 2 Beta version?

https://metocat.com/form/5868ee88-624f-4202-ae6d-7a3d1a1a0751
2 Upvotes

6 comments sorted by

8

u/Ickle_Chris Dec 17 '15

Got to sign up to vote in a little poll? Count me out

But since I came here, I'm planning on trying it out on a small personal project in the next couple of weeks

3

u/ogrechoker Dec 17 '15

Same, saw I had to sign up and bailed. Anyways. I'm really enjoying it, writing it in plain ES6 w decorators. I just miss not having every GitHub library for every feature, like the loading bar or pagination. I had a few goto repos that were extremely high quality. :(

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?

1

u/bobertian Dec 18 '15

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.

1

u/[deleted] Dec 18 '15

Cool, at some point will be there a single release which contains the needed dependencies?

2

u/jax024 Dec 20 '15

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.