Quantcast
Channel: OSCHINA 社区最新新闻
Viewing all articles
Browse latest Browse all 44787

Ember.js v2.9.0-alpha.3 发布,JavaScript 框架

$
0
0

Ember.js v2.9.0-alpha.3 发布了,Ember是一个雄心勃勃的Web应用程序,消除了样板,并提供了一个标准的应用程序架构的JavaScript框架。

该版本主要改进:

  • #13946: Re-rendering a component manually (i.e. calling this.rerender()) no longer forces everything in its subtree to recompute. Notably, helpers like {{unbound}} are not updated when re-rendering.

  • #13947: The willRender lifecycle hook will be called on a component whenever anything in its subtree has changed.

  • #13948: "Backtracking re-render" is now an error in development mode, and will not work in production builds.

  • {{#each-in}} updates automatically when values are added to the object using Ember.set.

  • "Tagless" components (components with tagName set to an empty string) used to ignore any id attribute, which unintentionally allowed users to repurpose it for their own uses. This is now a hard error ("You cannot use elementId on a tag-less component").

下载地址:


Viewing all articles
Browse latest Browse all 44787

Trending Articles