In my project, we are manipulating and store data in services with array and Observables. We create the observables like this :
Observable.of(array)
and then we only update the array when we add/remove/etc element.
In our component, we only consume the observable and use the async filter.
I was wondering if it's good practice because even in the documentation of Angular, they recommend to use combination of Observable and Subject, not Observable and Array.
Why using Subject is better ? Is there a difference in the performance ?
Thanks