otter
otter copied to clipboard
[Feature]: Use takeUntilDestroy instead of subscription array
Context
Since angular v17 we can use takeUntilDestroy
from @angular/core/rxjs-interop
Proposal
We should replace all subscription array with the unsubscription in the ngOnDestroy
by takeUntilDestroy
.
We should modify our schematic that generate subscription array