What’s New in Angular 4? AND what are the Improvements in Angular 4?
Technically there are some breaking changes, explaining that’s why the major version number has changed. And, if you missed it, there is no Angular 3: the router package was in version 3.x, so instead of bumping everything to 3.0 and the router to 4.0, the team chose to bump everything to 4.0.
The breaking changes are quite limited though, we updated several of our apps in a few minutes: nothing too scary.
TypeScript 2.1+ is now required (it was 1.8+ before), and some interfaces have changed or are deprecated (rarely used in most applications, like
OpaqueToken
or SimpleChange
).
TypeScript 2.1 and 2.2 have brought really nice features you should check out. Angular 4 now supports them (and you will soon be able to activate the new
strictNullChecks
TypeScript option for example).
0 comments:
Post a Comment