Angular version 16 - WHAT'S NEW ?
Kristiyan Velkov
Tech Lead ? Front-End Advocate ? Mentor & Educator ? Tech Blogger ? Published Author ? 100+ IT Certifications ? 30K+ Followers ? Expert in React.js, Next.js, Angular, DevOps, Web Accessibility & Security
1/ Signals - Signals are a new way of managing state changes in Angular applications, inspired by Solid.js.
2/ Required Component Inputs (More info)
3/ Non-Destructive Hydration - Hydration has been available in frameworks like React or Next.js for a while, but it was not easy to implement in Angular. In Angular 16, hydration will be supported out of the box, making SSR applications faster and smoother.
4/ DestroyRef?as injectable provider?—?Allows you to access the destroy context of a component. This can be useful for cleanup tasks that must be performed when a component is destroyed.
5/ TakeUntilDetroyed() pipe - which will automatically unsubscribe from an observable when a component or directive is destroyed.
6/ Vite based dev server (Vite)