On March 5th and 6th I attended ng-conf 2015, which was held in Salt Lake City, Utah. It was great to meet several people building Angular apps as well as speaking first hand to the people behindAngular and TypeScript. On the technical front, I found a few resounding themes throughout the conference:
Many of these themes are covered in this Welcome talk on Day 1.
What was originally called AtScript has now merged with TypeScript. No more AtScript. It is all TypeScript from now on. In fact, Google and Microsoft are collaborating closely on building TypeScript.
TS will be a superset of ES6
Angular 2 apps can be written in ES5, ES6 or TypeScript. Writing apps in TypeScript is definitely the recommended approach.
The team from OpenTable gave a very compelling presentation about the benefits of WebComponents. It is definitely a solid approach to scale large apps.
Moving forward, most apps will be composed of components and can be visualized as a component-tree.
It is the evolution of the Angular 1.x Directives
Several improvements have been made in the change detection algorithm which dramatically improves the $digest cycle. Some of these include: use of Immutable Data Structures, Unidirectional Change Detection which always completes in one iteration and View Caching.
View Caching will lead to faster render
Dave Smith did a more in-depth exploration of Angular 2, comparing it to React in this talk. You will be surprised at the results.
Custom plugins can be added to hook into various lifecycle
events of the protractor harness
The concept inspired from the Rx.Net will be part of TC39 and also Angular 2. Although there is already a perf boost just by using Angular 2, the use of Observables as data structures helps in boosting the $digest even more.
Using the design principles of Rx Observables, one can create reactive, data-intensive applications far more easily. The Netflix team is relying heavily on this approach to build their internal tools.