Now with Angular 18 FormControl has `events` Observable, on that you can listen to events like `PristineChangeEvent`
```typescript
this.form.events.pipe(takeUntilDestroyed()).subscribe((event) => {
if (event instanceof PristineChangeEvent) {
console.log('form pristine change ', event.pristine);
console.log(this.form.pristine); // same same
}
});
```
Now with Angular 18 FormControl has `events` Observable, on that you can listen to events like `PristineChangeEvent`
```typescript
this.form.events.pipe(takeUntilDestroyed()).subscribe((event) => {
if (event instanceof PristineChangeEvent) {
console.log('form pristine change ', event.pristine);
console.log(this.form.pristine); // same same
}
});
```