Angular 4.0 Kickstarter

#Angular 4.0 Kickstarter by @jinalshah999 cc @CsharpCorner  #Angular4 #Angularjs #Angular2

  • With the release of Angular 4.0.0 this March, 2017, if you, as a developer think that you need to learn the whole thing again like what has happened with Angular js 1.
  • x to Angular 2 (i.e. just happened because Angular2 is complete rewrite of Angular js 1.
  • x), it is not the same in the case of Angular 4 because it is not the complete rewrite of Angular2 ,it is simply a change in some core libraries, which demands the semantic versioning change.
  • It deprecates some features (i.e. those features are still usable but will be removed with the next version of Angular) and adds some new ones.
  • Well the answer is

    Due to this misalignment of the router package’s version, the team decided to go straight for Angular v4.

In this article, you will learn about Angular 4.0.

@CsharpCorner: #Angular 4.0 Kickstarter by @jinalshah999 cc @CsharpCorner #Angular4 #Angularjs #Angular2

To start with anything about Angular 4.x, I would like to quote one statement “Angular 4 is NOT a complete re-write of Angular 2!”

With the release of Angular 4.0.0 this March, 2017, if you, as a developer think that you need to learn the whole thing again like what has happened with Angular js 1.x to Angular 2 (i.e. just happened because Angular2 is complete rewrite of Angular js 1.x), it is not the same in the case of Angular 4 because it is not the complete rewrite of Angular2 ,it is simply a change in some core libraries, which demands the semantic versioning change. The term “Angular 2” will deprecate soon, once the versions 4,5 and so on will be released.

It is just an “Angular”, which should not be used with version suffix.

Indeed, it doesn’t introduce any change which breaks your code. It deprecates some features (i.e. those features are still usable but will be removed with the next version of Angular) and adds some new ones.

why it is Angular 4 and why not Angular 3?

“Why Kattapa killed Bahubali?” (A very famous question for year 2016-2017 from a very famous Indian movie Bahubali). With the same level of curiosity, one would like to know why it is Angular 4 and why not Angular 3? Well the answer is

Due to this misalignment of the router package’s version, the team decided to go straight for Angular v4. In this way, all core package are aligned, which are easy to maintain for future release.

After Angular 4.x release, following is the tentative schedule for the further release.

How to Update Angular-cli?

[sudo] npm uninstall -g @angular/cli or angular-cli

npm cache clean

[sudo] npm install -g @angular/cli

sudo is only required for [mac/linux user]

Are there any new features?

As you see it, for you; as a developer; there are not many important changes, which should affect your performance, size of your Application and code.

Now, Angular4.x works with Typescript 2.x and above. You can find the details about TypeScript release.(https://github.com/Microsoft/TypeScript/releases )

Angular 4.0 Kickstarter

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.