Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
AngularDart hello world demo loads 2MB of JavaScript (angulardart.org)
1 point by matt42 on April 21, 2014 | hide | past | favorite | 3 comments


This is because Angular uses reflection, which requires that the dart2js compiler retain a lot of code and metadata unless it's told what it can safely discard.

AngularDart 0.10.0 has an option to remove the use of reflection for release builds which drastically reduces the compiled output size.


And the javascript source code is : https://angulardart.org/dart/examples.dart.js


So? How much is it minified & compressed?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: