发布于 2017-10-07 00:18:38 | 91 次阅读 | 评论: 0 | 来源: 网友投递
这里有新鲜出炉的AngularJS开发指南,程序狗速度看过来!
AngularJS 前端JS框架
AngularJS诞生于Google是一款优秀的前端JS框架,已经被用于Google的多款产品当中。AngularJS有着诸多特性,最为核心的是:MVC、模块化、自动化双向数据绑定、语义化标签、依赖注入,等等。
Angular 5.0.0-rc.1 已发布,该版本的更新内容包括 bug 修复和性能改进,具体如下:
Bug 修复
compiler: always emit summaries for jit with ng_module bazel rule. (1058b2a)
don’t rely on goog.DEBUG
but on COMPILED
instead (db74f44)
compiler: add typings for COMPILED
. (0038712)
compiler: also count generated files to determine whether to use single file emit (7c5ecb5)
compiler: disallow references for select and index evaluation (f3f4c3d)
compiler: don’t use ng://
in AOT source maps, and never point to the original source file (01f7112), closes #19538
compiler: only don’t emit already emitted files in incremental compilation (caa5195)
compiler: set emitSkipped
to false for incremental compilation (c412913)
service-worker: several misc fixes for corner cases (f10f8db)
upgrade: call ngOnInit()
after ngOnChanges()
(on components with inputs) (eef7d8a), closes #18913
upgrade: correctly run change detection when propagateDigest
is false (617b3d2)
upgrade: ensure downgraded components are destroyed in the Angular zone (4e6aa9c)
性能改进
compiler: don’t emit summaries for jit by default (b086891)
compiler: fix perf issue in loading aot summaries in jit compiler (fbc9537)
compiler: only emit changed files for incremental compilation (745b59f)
下载地址:
官方表示 Angular 5 正式版预计将于 10 月 23 日发布。