Personal mistakes and learnings on Angular
Avoid using effect()
Clean up subscribe
When components are destroyed, subscriptions might remain and thus cause memory leaks.
ChangeDetectionStrategy on Push
Avoid ngOnInit if alternatives are possible
It is not necessary to use ngOnInit e. g. for data fetching, when we can use it in a reactive way, using toSignal().