otter icon indicating copy to clipboard operation
otter copied to clipboard

[Feature]: Use takeUntilDestroy instead of subscription array

Open matthieu-crouzet opened this issue 8 months ago • 0 comments

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

matthieu-crouzet avatar Jun 10 '24 15:06 matthieu-crouzet