Angular 5 New Features

What's New in Angular 6?

Angular 6 New Features -
Off-course!! Angular 6 being smaller, faster and easier to use. It will making developers lives easier.
The Angular 6 is scheduled for March 2018, with production release on March 28

The Angular Team are working on –To added/ remove/ re-introduce/ and may more things. You can see the below details –
ü  Added Angular Material and CDK Stable Release
ü  Support Service Worker in the CLI
-             ng generate universal <name>
-             ng build --app=<name>
ü  Improved Universal and AppShell Support in the CLI
-             ng generate app-shell [ --universal-app <universal-app-name>] [ --route <route>]
ü  Improved decorator error messages
ü  TypeScript 2.5.x support
-             npm install [email protected]'~2.5.3'
ü  And many more things are available
ü  Added to support – nativeElement
ü  Re-introduce Query Predicate with more focused role
ü  Add missing lifecycle tests for projected components
ü  Describe safety worker
ü  Add afterContentInit and afterContentChecked to render
ü  Some fixes on language service -
o   The 2.6 version of Typescript’s “resolveModuleName” started to require paths passed to be separated by '/' instead of being able to handle '\'.
ü  Move init hooks into TView
ü  Correct onDestroy order for projected components
ü  Add type and hooks to directive def
ü  Enable size tracking of a minimal CLI render3 application
ü  Fix platform-detection example for Universal
ü  Add canonical view query
ü  Some enhancements on compiler to reflect changes
ü  Rename QueryPredicate to LQuery
ü  Rename LQuery to LQueries and associated renames
ü  Allow HttpInterceptors to inject HttpClient
o   Previously, an interceptor attempting to inject HttpClient directly would receive a circular dependency error, as HttpClient was constructed via a factory which injected the interceptor instances. Users want to inject HttpClient into interceptors to make supporting
o   Either HttpClient or the user has to deal specially with the circular Dependency. This change moves that responsibility into HttpClient itself. By utilizing a new class HttpInterceptingHandler which lazily Loads the set of interceptors at request time, it's possible to inject HttpClient directly into interceptors as construction of HttpClient no longer requires the interceptor chain to be constructed.
ü  Add navigationSource and restoredState to NavigationStart -
o   Currently, NavigationStart there is no way to know if navigation was triggered imperatively or via the location change. These two use cases should be handled differently for a variety of use cases (e.g., scroll position restoration). This PR adds a navigation source field and restored navigation id (passed to navigations triggered by a URL change).
ü  Removes generation of comments
ü  Fix SideNav height on narrow screens -
o   Since we specify `bottom: 0`, specifying the height is unnecessary and Leads to wrong height (unless updated) on narrow screens where the topbar height is decreased.
Where to download the Angular 6 beta -

AngularJs Interview Questions and AnswersAngular 2 Interview Questions and Answers
Angular 4 Interview Questions and AnswersAngular 5 Interview Questions and Answers
Angular 6 Interview Questions and Answers Angular Interview Questions and Answers

I hope you are enjoying with this post! Please share with you friends. Thank you so much!

Hey! I'm Anil Singh. I author this blog. I'm Active Blogger, Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
My Blogs - and
My Books - Interview Questions and Answers Books- Get Your Book in 15+ Digital Stores Worldwide..

You Might Also Like
Post a Comment Powered by Blogger.
ASK Questions