Angular Without Lifecycle Hooks - Cleaner Components

Опубликовано: 29 Июль 2026
на канале: Daniil Rabizo
2,843
143

Angular lifecycle hooks, such as ngOnInit, ngOnChanges, and ngAfterViewInit, are now in the past. Are they still cluttering your code? 😵‍💫

In this video, I’ll show you how I eliminated most of them — and made my Angular apps cleaner using a new API.

00:00 Intro
00:20 New Signal-Based API
00:40 ngDoCheck & ngOnChanges
01:33 ngOnInit
02:39 ngOnDestroy
03:45 ngAfterViewInit, ngAfterContentInit, ngAfterChecked…
04:43 Outro