Fellow developers,
I've got a service that stores a FormArray, which is appended to by one component and viewed by a different component. Even though, the FormArray is immutable and being reassigned to, the view is not updating successfully.
The issue goes away when not using OnPush change detection, or if change detection is force refreshed using changeDetectorRef.detectChanges(). Both of these solutions feel hacky though, and I don't really understand why it's not working as it should.
Sample repo with the issue: https://stackblitz.com/edit/angular-9hwgcn?file=src/app/app.component.html (after adding an item, the list of shopping items doesn't update)