We are using ChangeDetectionStrategy Onpush in all the components, so we are following dump/smart component approach, so we are keeping all the logical part in service/facade side.
Right now we need to generate dynamic controls using Reactive Forms, FormGroup, FormArray,
So we are preparing FormGroup and FormArray in service side, and passing these to dump component as Input parameter, in this case I couldn't pass these as behaviour subject as observable, I'm directly passing as Input parameter.
If anything changes in FormArray, it doesn't not reflect in dump component due to the OnPush changeDectionStrategy.
I have mocked the implementation in this stackblitz
In this sample, I have prepared FormArray, FormGroup in service file, and passing to dump component via smart component.
I couldn't find proper samples on Behavioursubject and Abstract control,
If it is possible to pass FormArray, FormGroup as Observable, Kindly help me to know.