Tuesday, August 15, 2017

What are the big differences between Angular 2 and Angular 4?

Per this:

  1. under the hood optimizations
  2. better animations
  3. the else for *ngIf
  4. the email keyword that sits by the required keyword at input tags

 
 

That is hardly anything compared to the jump from Angular 1 to Angular 2, huh? The new versions after 2 will not be rewrites like 2 was itself. Anything you could do in 2 will work in 4. In version 5, some of the stupid stuff in 2 will be forbidden, but we are not there yet. The Angular team will warn you of what it will drop in a given version the version beforehand so we know now that 4 is here that the template tag will go away in 5. The Angular team would like to think of Angular 1 as AngularJS and Angular 2 and beyond as just Angular but realistically these names do not work well when Googling for information on either. Why is there no Angular 3? Well, the routing was already on version 3 and the team wanted all of the major packages to start fresh on the same version.

No comments:

Post a Comment