Skip to content

Angular ‐ New Stuff

FullstackCodingGuy edited this page Feb 13, 2024 · 8 revisions

Feb 2024

V17 - setting new standards for performance and developer experience.

  • Deferrable views which brings performance and developer experience to the next level
  • Up to 90% faster runtime with a built-in control flow loops in public benchmarks
  • Up to 87% faster builds for hybrid rendering and 67% for client-side rendering
  • Fresh new look reflecting the future-looking features of Angular
  • Brand new interactive learning journey

RxJS interoperability

  • takeUntilDestroyed

Faster Builds - esbuild-based build system

Signals

Required inputs

@Component(...) export class App { @Input({ required: true }) title: string = ''; }

Passing router data as component inputs

image

Flexible ngOnDestroy

image

CSP support for inline-styles

Inline style elements that Angular includes in the DOM for component styles violate the default style-src Content Security Policy (CSP). To fix this, they should either contain a nonce attribute or the server should include a hash of the style’s content in the CSP header. Even though at Google we did not find a meaningful attack vector to this vulnerability, many companies enforce strict CSP, leading to the popularity of a feature request on the Angular repository.

Misc

References

Clone this wiki locally