Day zero resources for upgrading from Angular 2 RC4 to RC5

Angular 2 RC5 is now available!

For those looking to get their hands dirty from day 1, I’ve compiled some links of resources that are already available that helped me along the way.

 

What’s New

NgModule

The biggest change is the new NgModule which will impact the bootstrapping of your application and the way components reference directives and pipes.

https://angular.io/docs/ts/latest/guide/ngmodule.html

 

RC5 Changelog

https://github.com/angular/angular/blob/master/CHANGELOG.md#200-rc5-2016-08-09

 

Ahead of Time (AoT) Compiler

A more detailed look at the offline (AoT) compiler, lazy loading and other changes in RC5

http://angularjs.blogspot.com.au/2016/08/angular-2-rc5-ngmodules-lazy-loading.html

 

How to Upgrade

RC4 to RC5 Migration steps

https://angular.io/docs/ts/latest/cookbook/rc4-to-rc5.html

 

Update Dependencies

A quick way to update your dependencies from RC4 to RC5 is to take a look at the Angular.io sites’ Quick Start project which has already been updated to use RC5. Change your to be the same, run npm install and you are away.

https://angular.io/docs/ts/latest/quickstart.html

clip_image001

 

Follow the Examples

All of the Plunker examples from Angular.io website documentation seem to have been updated to use RC5 and show the new patterns and serve as good examples of how you should be doing things the RC5 way. For example, there have been some changes in routing which can be seen in this Plunker:

https://angular.io/resources/live-examples/toh-5/ts/plnkr.html

Advertisement

4 thoughts on “Day zero resources for upgrading from Angular 2 RC4 to RC5

Add yours

  1. Your explicit dependency example helped me out alot. I tried several times to upgrade from rc4 to rc5 unsuccessfully until I saw your dependencies example. I was not upgrading @angular/router to 3.0.0 rc.1 until I saw this article.

    Thanks, now on my 5th migration try it is working

    Liked by 2 people

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: