Angular 4MICHAEL HABERMANFREELANCER
What makes Shai angry?
Great, he is happy
So, angular 4 you say…
Angular versioning
Semantic versioning
X . Y . Z
BUG FIXNEW FEATURE
BREAKING CHANGE
So where is angular 3…?
@angular/router changed to version 3 All the rest remain with 2 Angular decided to skip version 3, straight to 4
What are the breaking changes Core: Because all lifecycle hooks are now interfaces the code
that uses 'extends' keyword will no longer compile:
Before:@Component() class SomeComponent extends OnInit {}
After:@Component() class SomeComponent implements OnInit {}
What are the breaking changes There is a long list of breaking changes: https://
github.com/angular/angular/blob/master/CHANGELOG.md#breaking-changes
Will support typescript 2.1 with out backward compatibility
Cool new feature<ng-template #notPaid>
<b>Payment UI</b></ng-template>
<div *ngIf=“didUserPaid; else notPaid”> <b>Welcome</b></div>
Thank you!
[email protected] @hab_mic
https://github.com/angular/angular/blob/master/CHANGELOG.md#breaking-changes
https://github.com/angular/angular/blob/master/CHANGELOG.md#features
Top Related